Selaa lähdekoodia

去除install.php 检测

1557492053 1 vuosi sitten
vanhempi
commit
0a9d0fcb10
2 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 4 4
      public/ehGVUxwKkN.php
  2. 4 4
      public/index.php

+ 4 - 4
public/ehGVUxwKkN.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

@@ -14,10 +14,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/start.php';