线上修改

master
大帅比 2023-09-19 08:32:22 +00:00
parent 11740f3dad
commit 52ff1a01f8
9 changed files with 53 additions and 2 deletions

1
.htaccess Normal file
View File

@ -0,0 +1 @@

7
404.html Normal file
View File

@ -0,0 +1,7 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

39
index.html Normal file
View File

@ -0,0 +1,39 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>恭喜,站点创建成功!</title>
<style>
.container {
width: 60%;
margin: 10% auto 0;
background-color: #f0f0f0;
padding: 2% 5%;
border-radius: 10px
}
ul {
padding-left: 20px;
}
ul li {
line-height: 2.3
}
a {
color: #20a53a
}
</style>
</head>
<body>
<div class="container">
<h1>恭喜, 站点创建成功!</h1>
<h3>这是默认index.html本页面由系统自动生成</h3>
<ul>
<li>本页面在FTP根目录下的index.html</li>
<li>您可以修改、删除或覆盖本页面</li>
<li>FTP相关信息请到“面板系统后台 > FTP” 查看</li>
</ul>
</div>
</body>
</html>

View File

@ -291,7 +291,7 @@ class GoodsLogic extends Logic
return $goodsDetailArr;
}catch(\Exception $e) {
Db::rollback();
self::$error = $e->getMessage();
self::$error = $e->getMessage().'--'.$e->getLine().'--'.$e->getFile();
return false;
}
}

View File

@ -67,7 +67,7 @@ class UrlServer
return str_replace($domain.'/', '', $uri);
} else {
$config = ConfigServer::get('storage_engine', $engine);
return str_replace($config['domain'], '', $uri);
return str_replace($config['domain'] ?? '', '', $uri);
}
}

1
server/public/.user.ini Normal file
View File

@ -0,0 +1 @@
open_basedir=/data/wwwroot/gonglehui/server/:/data/tmp/

View File

@ -0,0 +1 @@
pK6j4F9v6XtlPZtpNCAmc1u-06JzDvQQ-Y2dieLR2Ss.TAjT0eLA9UQhrIBAe2etLXkDIPzTV4YJfwzD07Ta5Bo

View File

@ -0,0 +1 @@
MFBzNhoHPUZURQPT

View File

@ -0,0 +1 @@
e450808c69079bbe5c07d48c2cc42d52