企业🤖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}} ```