mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
代码格式规范调整
This commit is contained in:
1
base.php
1
base.php
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user