update application/common/model/Config.php.

Signed-off-by: hongfs <hong@hongfs.cn>
pull/464/head
hongfs 2024-04-24 11:31:43 +00:00 committed by Gitee
parent de5c92e78a
commit 2f0eba86af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}