mirror of
https://github.com/v2board/v2board.git
synced 2025-04-16 06:32:35 +08:00
update: theme
This commit is contained in:
parent
db06001254
commit
74265a5b59
@ -34,6 +34,7 @@ class ThemeController extends Controller
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
Artisan::call('config:cache');
|
Artisan::call('config:cache');
|
||||||
|
sleep(2);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
abort(500, "{$themeName}初始化失败");
|
abort(500, "{$themeName}初始化失败");
|
||||||
}
|
}
|
||||||
@ -93,6 +94,7 @@ class ThemeController extends Controller
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
Artisan::call('config:cache');
|
Artisan::call('config:cache');
|
||||||
|
sleep(2);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
abort(500, '保存失败');
|
abort(500, '保存失败');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user