代码格式规范调整

This commit is contained in:
麦当苗儿
2013-04-15 11:00:18 +08:00
parent 353b10c665
commit cd60b2a2f5

View File

@@ -30,6 +30,7 @@ defined('APP_DEBUG') or define('APP_DEBUG',false); // 是否调试模式
// 为了方便导入第三方类库 设置Vendor目录到include_path // 为了方便导入第三方类库 设置Vendor目录到include_path
set_include_path(get_include_path() . PATH_SEPARATOR . VENDOR_PATH); set_include_path(get_include_path() . PATH_SEPARATOR . VENDOR_PATH);
// 环境常量 // 环境常量
define('MEMORY_LIMIT_ON', function_exists('memory_get_usage')); define('MEMORY_LIMIT_ON', function_exists('memory_get_usage'));
define('IS_CGI', strpos(PHP_SAPI, 'cgi')=== 0 ? 1 : 0 ); define('IS_CGI', strpos(PHP_SAPI, 'cgi')=== 0 ? 1 : 0 );