ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 系统常量 ##介绍 系统自定了义一些常量方便我们在程序中使用 ``` [DEBUG] => 1 [HDPHP_VERSION] => 2.0.0 [RELEASE_VERSION] => 20160818 [HDPHP_PATH] => /www/hdphp/hdphp [DS] => / [ROOT_PATH] => . [IS_CGI] => [IS_WIN] => [IS_CLI] => [IS_GET] => 1 [IS_POST] => [IS_DELETE] => [IS_PUT] => [IS_AJAX] => [IS_WEIXIN] => [NOW] => 1471525096 [NOW_MICROTIME] => 1471525096.77 [__ROOT__] => http://localhost/hdphp [__URL__] => http://localhost/hdphp/index.php?s=home/entry/index [__HISTORY__] => [APP_PATH] => ./web [APP] => web [IS_MOBILE] => [MODULE] => home [CONTROLLER] => Entry [ACTION] => index [MODULE_PATH] => ./web/home [VIEW_PATH] => ./web/home/view [__VIEW__] => http://localhost/hdphp/./web/home/view ``` ##模版中调用常量 ``` {{MODULE}} ```