boaPHP开发手册v5.5

命令行配置

config.php

'CONSOLE' => [
     //配置项
],

命令行配置

配置项默认值类型说明
DOCUMENT_ROOTBS_WWWstring同$_SERVER['DOCUMENT_ROOT']
SERVER_PORT80int同$_SERVER['SERVER_PORT']
SERVER_NAMElocalhoststring同$_SERVER['SERVER_NAME']
HTTP_HOSTlocalhoststring同$_SERVER['HTTP_HOST']
REMOTE_ADDR127.0.0.1string同$_SERVER['REMOTE_ADDR']
REMOTE_PORT8888int同$_SERVER['REMOTE_PORT']
REQUEST_METHODGETstring同$_SERVER['REQUEST_METHOD']
REQUEST_SCHEMEhttpstring同$_SERVER['REQUEST_SCHEME']
REQUEST_URIstring同$_SERVER['REQUEST_URI'],默认由程序算出
QUERY_STRINGstring同$_SERVER['QUERY_STRING'],默认由程序算出
PATH_INFOstring同$_SERVER['PATH_INFO'],默认由程序算出
HTTP_COOKIEstring同$_SERVER['HTTP_COOKIE'],如:PHPSESSID=xxx
HTTP_USER_AGENTConsole boaPHP/5.5string同$_SERVER['HTTP_USER_AGENT']

命令行输出配置

配置项默认值类型说明
borderfalsebool是否显示表格边框
border_h-char单元格水平制表符,如:= + *
border_v|char单元格垂直制表符
wrap<br>string表格内容断行标志