命令行配置
config.php
'CONSOLE' => [
//配置项
],
配置项 | 默认值 | 类型 | 说明 |
---|---|---|---|
DOCUMENT_ROOT | BS_WWW | string | 同$_SERVER['DOCUMENT_ROOT'] |
SERVER_PORT | 80 | int | 同$_SERVER['SERVER_PORT'] |
SERVER_NAME | localhost | string | 同$_SERVER['SERVER_NAME'] |
HTTP_HOST | localhost | string | 同$_SERVER['HTTP_HOST'] |
REMOTE_ADDR | 127.0.0.1 | string | 同$_SERVER['REMOTE_ADDR'] |
REMOTE_PORT | 8888 | int | 同$_SERVER['REMOTE_PORT'] |
REQUEST_METHOD | GET | string | 同$_SERVER['REQUEST_METHOD'] |
REQUEST_SCHEME | http | string | 同$_SERVER['REQUEST_SCHEME'] |
REQUEST_URI | string | 同$_SERVER['REQUEST_URI'],默认由程序算出 | |
QUERY_STRING | string | 同$_SERVER['QUERY_STRING'],默认由程序算出 | |
PATH_INFO | string | 同$_SERVER['PATH_INFO'],默认由程序算出 | |
HTTP_COOKIE | string | 同$_SERVER['HTTP_COOKIE'],如:PHPSESSID=xxx | |
HTTP_USER_AGENT | Console boaPHP/5.5 | string | 同$_SERVER['HTTP_USER_AGENT'] |
配置项 | 默认值 | 类型 | 说明 |
---|---|---|---|
border | false | bool | 是否显示表格边框 |
border_h | - | char | 单元格水平制表符,如:= + * |
border_v | | | char | 单元格垂直制表符 |
wrap | <br> | string | 表格内容断行标志 |