改进Config类支持配置CONF_EXT常量

This commit is contained in:
thinkphp
2016-05-10 14:39:47 +08:00
parent 85fe5d89fe
commit 822d9a235b
3 changed files with 13 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ defined('CACHE_PATH') or define('CACHE_PATH', RUNTIME_PATH . 'cache' . DS);
defined('TEMP_PATH') or define('TEMP_PATH', RUNTIME_PATH . 'temp' . DS);
defined('VENDOR_PATH') or define('VENDOR_PATH', ROOT_PATH . 'vendor' . DS);
defined('EXT') or define('EXT', '.php');
defined('CONF_EXT') or define('CONF_EXT', EXT); // 配置文件后缀
defined('MODEL_LAYER') or define('MODEL_LAYER', 'model');
defined('VIEW_LAYER') or define('VIEW_LAYER', 'view');
defined('CONTROLLER_LAYER') or define('CONTROLLER_LAYER', 'controller');