[thinkphp]查看thinkphp系统定义的常量值

echo ‘MEMORY_LIMIT_ON: ‘ . MEMORY_LIMIT_ON . ‘<br>‘;
echo ‘THINK_PATH: ‘ . THINK_PATH . ‘<br>‘; 
echo ‘APP_PATH: ‘ . APP_PATH . ‘<br>‘;
echo ‘APP_STATUS: ‘ . APP_STATUS . ‘<br>‘;
echo ‘APP_DEBUG: ‘ . APP_DEBUG . ‘<br>‘;
echo ‘APP_MODE: ‘ . APP_MODE . ‘<br>‘;
echo ‘STORAGE_TYPE: ‘ . STORAGE_TYPE . ‘<br>‘;
echo ‘RUNTIME_PATH: ‘ . RUNTIME_PATH . ‘<br>‘;
echo ‘LIB_PATH: ‘ . LIB_PATH . ‘<br>‘;
echo ‘CORE_PATH: ‘ . CORE_PATH . ‘<br>‘;
echo ‘BEHAVIOR_PATH: ‘ . BEHAVIOR_PATH . ‘<br>‘;
echo ‘MODE_PATH: ‘ . MODE_PATH . ‘<br>‘;
echo ‘VENDOR_PATH: ‘ . VENDOR_PATH . ‘<br>‘;
echo ‘COMMON_PATH: ‘ . COMMON_PATH . ‘<br>‘;
echo ‘CONF_PATH: ‘ . CONF_PATH . ‘<br>‘;
echo ‘LANG_PATH: ‘ . LANG_PATH . ‘<br>‘;
echo ‘HTML_PATH: ‘ . HTML_PATH . ‘<br>‘;
echo ‘LOG_PATH: ‘ . LOG_PATH . ‘<br>‘;
echo ‘TEMP_PATH: ‘ . TEMP_PATH . ‘<br>‘;
echo ‘DATA_PATH: ‘ . DATA_PATH . ‘<br>‘;
echo ‘CACHE_PATH: ‘ . CACHE_PATH . ‘<br>‘;
echo ‘CONF_EXT: ‘ . CONF_EXT . ‘<br>‘;
echo ‘CONF_PARSE: ‘ . CONF_PARSE . ‘<br>‘;
echo ‘ADDON_PATH: ‘ . ADDON_PATH . ‘<br>‘;
echo ‘MAGIC_QUOTES_GPC: ‘ . MAGIC_QUOTES_GPC . ‘<br>‘;
echo ‘IS_CGI: ‘ . IS_CGI . ‘<br>‘;
echo ‘PHP_SAPI: ‘ . PHP_SAPI . ‘<br>‘;
echo ‘IS_WIN: ‘ . IS_WIN . ‘<br>‘;
echo ‘IS_CLI: ‘ . IS_CLI . ‘<br>‘;
echo ‘_PHP_FILE_ : ‘ . _PHP_FILE_ . ‘<br>‘;
echo ‘__ROOT__ : ‘ . __ROOT__ . ‘<br>‘;

  

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。