mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 05:31:36 +08:00
去掉 include_path中的 VENDOR_PATH 设置,如果遇到不规范的第三方类库,可以由用户自行设置
This commit is contained in:
3
base.php
3
base.php
@@ -28,9 +28,6 @@ defined('VENDOR_PATH') or define('VENDOR_PATH', THINK_PATH.'Vendor/');
|
||||
defined('EXT') or define('EXT', '.php');
|
||||
defined('APP_DEBUG') or define('APP_DEBUG', false); // 是否调试模式
|
||||
|
||||
// 为了方便导入第三方类库 设置Vendor目录到include_path
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . VENDOR_PATH);
|
||||
|
||||
// 环境常量
|
||||
define('MEMORY_LIMIT_ON', function_exists('memory_get_usage'));
|
||||
define('IS_CGI', strpos(PHP_SAPI, 'cgi') === 0 ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user