1、安装文件更新
2、内核更新
This commit is contained in:
@@ -18,6 +18,9 @@ class Base extends \think\Controller{
|
||||
protected $action;
|
||||
|
||||
public function _initialize(){
|
||||
if (!is_file(APP_PATH . 'database.php') || !is_file(APP_PATH . 'install.lock')) {
|
||||
return $this->redirect('install/index/index');
|
||||
}
|
||||
/* 读取数据库中的配置 */
|
||||
$config = cache('db_config_data');
|
||||
if(!$config){
|
||||
|
||||
Reference in New Issue
Block a user