fix
This commit is contained in:
@@ -58,7 +58,7 @@ class Base extends Controller
|
||||
}
|
||||
|
||||
// 检测数据库结构更新
|
||||
if ($this->user && $this->user->is_admin && !\config('app.app_debug')) {
|
||||
if ($this->user && $this->user->is_admin) {
|
||||
if (file_exists(Env::get('root_path') . 'update.sql')) {
|
||||
$this->redirect(url('/install/update'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user