mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
opcache: fix opcache issue
This commit is contained in:
parent
43193386bb
commit
a75928a91b
@ -138,7 +138,7 @@ class ConfigController extends Controller
|
|||||||
if (!\File::put(base_path() . '/config/v2board.php', "<?php\n return $data ;")) {
|
if (!\File::put(base_path() . '/config/v2board.php', "<?php\n return $data ;")) {
|
||||||
abort(500, '修改失败');
|
abort(500, '修改失败');
|
||||||
}
|
}
|
||||||
if (function_exists('opcache')) {
|
if (function_exists('opcache_reset')) {
|
||||||
opcache_reset();
|
opcache_reset();
|
||||||
}
|
}
|
||||||
\Artisan::call('config:cache');
|
\Artisan::call('config:cache');
|
||||||
|
Loading…
Reference in New Issue
Block a user