|
@@ -138,10 +138,10 @@ class ConfigController extends Controller
|
|
|
if (!\File::put(base_path() . '/config/v2board.php', "<?php\n return $data ;")) {
|
|
|
abort(500, '修改失败');
|
|
|
}
|
|
|
- \Artisan::call('config:cache');
|
|
|
if (function_exists('opcache')) {
|
|
|
opcache_reset();
|
|
|
}
|
|
|
+ \Artisan::call('config:cache');
|
|
|
return response([
|
|
|
'data' => true
|
|
|
]);
|