diff --git a/application/login.php b/application/login.php index cdd21b2..abc440c 100755 --- a/application/login.php +++ b/application/login.php @@ -49,6 +49,10 @@ if (isset($_REQUEST['code'])) { } } +if (isset($_GET['install'])) { + header('Location: login.php'); +} + ?>
diff --git a/config/config.php b/config/config.php index 745f20e..f1f5c9d 100755 --- a/config/config.php +++ b/config/config.php @@ -5,8 +5,8 @@ $config=Array 'keywords'=>'简单图床,easyimage,无数据库图床,PHP多图长传程序,自适应页面,HTML5,markdown,bbscode,一键复制', 'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传。', 'tips'=>'本站仅做演示用,不定时清理图片,单文件≤5M,每次上传≤30张', - 'domain'=>'http://localhost', - 'imgurl'=>'http://localhost', + 'domain'=>'http://127.0.0.1', + 'imgurl'=>'http://127.0.0.1', 'user'=>'admin', 'password'=>'e6e061838856bf47e1de730719fb2609', 'mustLogin'=>0, diff --git a/install/contorl.php b/install/contorl.php index 0849d76..bac7a7a 100755 --- a/install/contorl.php +++ b/install/contorl.php @@ -29,13 +29,6 @@ cache_write($config_file, $config); file_put_contents(APP_ROOT . '/install/install.lock', '安装程序锁定文件。'); // 创建安装程序锁 -// 跳转主页 -echo ' - -'; // 删除安装目录 if (isset($_POST['del_install'])) { if ($_POST['del_install'] == "del") { @@ -55,4 +48,10 @@ if (isset($_POST['del_extra_files'])) { } } -//exit(header("Location:/../application/login.php")); // 跳转主页 \ No newline at end of file +// 跳转主页 +echo ' + +';