mirror of https://gitee.com/karson/fastadmin.git
update application/common/model/Config.php.
Signed-off-by: hongfs <hong@hongfs.cn>pull/464/head
parent
de5c92e78a
commit
2f0eba86af
|
|
@ -221,6 +221,11 @@ class Config extends Model
|
|||
CONF_PATH . 'extra' . DS . 'site.php',
|
||||
'<?php' . "\n\nreturn " . var_export($config, true) . ";\n"
|
||||
);
|
||||
|
||||
if(function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue