码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2015-01-30 15:31:01      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:

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>‘;

  

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

标签:

原文地址:http://www.cnblogs.com/bushe/p/4262080.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!