正在显示
2 个修改的文件
包含
2 行增加
和
4 行删除
@@ -17,8 +17,7 @@ define('APP_PATH', __DIR__ . '/../application/'); | @@ -17,8 +17,7 @@ define('APP_PATH', __DIR__ . '/../application/'); | ||
17 | 17 | ||
18 | // 判断是否安装 | 18 | // 判断是否安装 |
19 | if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { | 19 | if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { |
20 | - $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); | ||
21 | - header("Location: {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}{$uri}/install.php"); | 20 | + header("location:./install.php"); |
22 | exit; | 21 | exit; |
23 | } | 22 | } |
24 | 23 |
@@ -15,8 +15,7 @@ define('APP_PATH', __DIR__ . '/../application/'); | @@ -15,8 +15,7 @@ define('APP_PATH', __DIR__ . '/../application/'); | ||
15 | 15 | ||
16 | // 判断是否安装 | 16 | // 判断是否安装 |
17 | if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { | 17 | if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { |
18 | - $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); | ||
19 | - header("Location: {$_SERVER['REQUEST_SCHEME']}://{$_SERVER['HTTP_HOST']}{$uri}/install.php"); | 18 | + header("location:./install.php"); |
20 | exit; | 19 | exit; |
21 | } | 20 | } |
22 | 21 |
-
请 注册 或 登录 后发表评论