This commit is contained in:
icret
2023-03-11 01:16:12 +08:00
parent 5d9a791b8f
commit b4ec93208d
8 changed files with 22 additions and 16 deletions

View File

@@ -1,5 +1,4 @@
<?php
require_once __DIR__ . '/function.php';
// 跳转安装
if (!is_file(APP_ROOT . '/config/install.lock') and is_file(APP_ROOT . '/install/install.php')) {
exit('<script type="text/javascript">window.location.href="' . get_whole_url('/') . '/install/index.php"</script>');
@@ -82,11 +81,13 @@ file_put_contents(APP_ROOT . '/config/EasyIamge.lock', '安装环境检测锁定
</div>
</div>
<script>
$("#myModal-1").modal({
keyboard: true,
moveable: true,
backdrop: "static", //点击空白处不关闭对话框
show: true
})
alert("初次打开会检测环境配置,请仔细看!!");
if (confirm("初次打开会检测环境配置,是否需要查看?")) {
$("#myModal-1").modal({
keyboard: true,
moveable: true,
backdrop: "static", //点击空白处不关闭对话框
show: true
})
}
console.log('EasyIamge.lock 生成完毕!')
</script>

View File

@@ -26,7 +26,7 @@ foreach ($expand as $val) {
}
// 检测是否修改默认密码
if ($config['password'] === 'e6e061838856bf47e1de730719fb2609') {
if ($config['password'] === '7676aaafb027c825bd9abab78b234070e702752f625b752e55e55b48e607e358') {
echo '
new $.zui.Messager("请修改默认密码,否则会有泄露风险! ",{
type: "warning", // 定义颜色主题

View File

@@ -32,7 +32,7 @@ define('APP_ROOT', str_replace('\\', '/', realpath(dirname(__FILE__) . '/../')))
// 判断当前的系统类型是否为windows
define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0);
// 定义当前版本
define('APP_VERSION', '2.7.8');
define('APP_VERSION', '2.7.9');
/*---------------基础配置结束-------------------*/