From 4a943bc392453c5698a366f6e802f292f4e14ffa Mon Sep 17 00:00:00 2001 From: xiaoz Date: Mon, 14 Feb 2022 15:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 9f78b19..531be54 100755 --- a/index.php +++ b/index.php @@ -15,8 +15,9 @@ if( !file_exists('./data/config.php') ) { echo "

正在准备安装,请稍等...

"; //复制配置文件 if ( copy('config.simple.php','data/config.php') ) { + echo "安装完毕,默认用户名:xiaoz,密码:xiaoz.me,5s后跳转到登录页面。"; //跳转到登录页面 - header("Refresh:3;url=/index.php?c=login"); + header("Refresh:5;url=/index.php?c=login"); exit(); } else{ exit("

复制配置文件失败,请检查权限是否正常,或手动将站点目录下的config.simple.php复制为data/config.php

");