mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
配置缓存指令改进 去除公共函数文件中的注释和空白
This commit is contained in:
@@ -78,7 +78,7 @@ class Config extends Command
|
|||||||
|
|
||||||
// 加载公共文件
|
// 加载公共文件
|
||||||
if (is_file($path . 'common' . EXT)) {
|
if (is_file($path . 'common' . EXT)) {
|
||||||
$content .= substr(file_get_contents($path . 'common' . EXT), 5) . PHP_EOL;
|
$content .= substr(php_strip_whitespace($path . 'common' . EXT), 5) . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
$content .= '\think\Config::set(' . var_export(\think\Config::get(), true) . ');';
|
$content .= '\think\Config::set(' . var_export(\think\Config::get(), true) . ');';
|
||||||
|
|||||||
Reference in New Issue
Block a user