-
diff --git a/application/logout.php b/application/logout.php
index c77394e..b382faa 100755
--- a/application/logout.php
+++ b/application/logout.php
@@ -1,7 +1,9 @@
'本站仅做演示用,不定时清理图片,单文件≤5M,每次上传≤30张',
'domain'=>'http://localhost',
'imgurl'=>'http://localhost',
- 'password'=>'admin@123',
+ 'user'=>'admin',
+ 'password'=>'e6e061838856bf47e1de730719fb2609',
'mustLogin'=>0,
'apiStatus'=>0,
'path'=>'/i/',
@@ -23,21 +24,25 @@ $config=Array
'waterImg'=>'/public/images/watermark.png',
'extensions'=>'gif,jpeg,png,tif,bmp,tif,svg,webp,jpg,tga,svg,ico',
'compress'=>0,
- 'thumbnail'=>2,
+ 'thumbnail'=>0,
'imgConvert'=>'',
'maxWidth'=>10240,
'maxHeight'=>10240,
'minWidth'=>5,
'minHeight'=>5,
'imgRatio'=>0,
- 'image_x'=>2500,
- 'image_y'=>2700,
+ 'image_x'=>800,
+ 'image_y'=>800,
'imgRatio_quality'=>80,
'imgRatio_crop'=>0,
'imgRatio_preserve_headers'=>1,
'static_cdn'=>0,
'theme'=>'default',
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
+ 'TinyImag_key'=>'',
+ 'moderatecontent_key'=>'',
+ 'footer'=>'
请勿上传违反中国政策的图片
+
',
'ad_top'=>0,
'ad_top_info'=>'
@@ -50,7 +55,7 @@ $config=Array
',
- 'showSwitch'=>1,
+ 'showSwitch'=>0,
'listNumber'=>20,
'customize'=>'
',
'checkEnv'=>1,
- 'checkImg'=>0,
+ 'checkImg'=>1,
'checkImg_value'=>50,
'upload_logs'=>1,
'cache_freq'=>2,
- 'version'=>'2.4.4 bate',
- 'form'=>'',
- 'TinyImag_key'=>'',
- 'moderatecontent_key'=>'',
- 'footer'=>'
请勿上传违反中国政策的图片
-
'
+ 'version'=>'2.4.5 bate',
+ 'form'=>'2022-01-05 18:27:18'
);
\ No newline at end of file
diff --git a/index.php b/index.php
index c7731fc..ad13ec0 100755
--- a/index.php
+++ b/index.php
@@ -142,5 +142,5 @@ mustLogin();
});
window.alert("两次密码不一致请重新输入!");location.href="./index.php";');
@@ -20,12 +16,11 @@ if (isset($_POST['password'])) {
}
if (isset($_POST['domain'])) {
- $config['domain']= $_POST['domain'];
-
+ $config['domain'] = $_POST['domain'];
}
if (isset($_POST['imgurl'])) {
- $config['imgurl']= $_POST['imgurl'];
+ $config['imgurl'] = $_POST['imgurl'];
}
$config_file = APP_ROOT . '/config/config.php';
@@ -37,7 +32,7 @@ file_put_contents(APP_ROOT . '/install/install.lock', '安装程序锁定文件
echo '
';
// 删除安装目录
diff --git a/install/index.php b/install/index.php
index 942aea6..dfb18ad 100755
--- a/install/index.php
+++ b/install/index.php
@@ -47,7 +47,7 @@ function checkPASS($name)
-
+
diff --git a/install/install.php b/install/install.php
index c87b502..45564af 100755
--- a/install/install.php
+++ b/install/install.php
@@ -22,7 +22,7 @@ if ($state !== 'checked') {
-
+
@@ -62,7 +62,13 @@ if ($state !== 'checked') {