1557492053 1 ano atrás
pai
commit
25bcc3d976
3 arquivos alterados com 12 adições e 12 exclusões
  1. 4 4
      public/api.php
  2. 4 4
      public/backstage.php
  3. 4 4
      public/index.php

+ 4 - 4
public/api.php

@@ -17,10 +17,10 @@ use think\Log;
 define('APP_PATH', __DIR__ . '/../application/');
 
 // 判断是否安装
-if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
-    header("location:./install.php");
-    exit;
-}
+//if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
+//    header("location:./install.php");
+//    exit;
+//}
 // 加载框架引导文件
 require __DIR__ . '/../thinkphp/start.php';
 

+ 4 - 4
public/backstage.php

@@ -16,10 +16,10 @@
 define('APP_PATH', __DIR__ . '/../application/');
 
 // 判断是否安装
-if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
-    header("location:./install.php");
-    exit;
-}
+//if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
+//    header("location:./install.php");
+//    exit;
+//}
 
 // 加载框架引导文件
 require __DIR__ . '/../thinkphp/base.php';

+ 4 - 4
public/index.php

@@ -17,9 +17,9 @@ use think\Log;
 define('APP_PATH', __DIR__ . '/../application/');
 
 // 判断是否安装
-if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
-    header("location:./install.php");
-    exit;
-}
+//if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) {
+//    header("location:./install.php");
+//    exit;
+//}
 // 加载框架引导文件
 require __DIR__ . '/../thinkphp/start.php';