- 去除廣告
- 修復數據庫
- 預覽地址具有時效性,不保證一直能夠正常訪問!
預覽圖:
測試記錄
Step 1
修改數據庫
位置 /config/database.php
Step 2 設置指向目錄
目錄 /public
Step 3 設置偽靜態
Nginx:
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
Apache:
<ifmodule>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
<strong>
Step 4 上傳數據庫
搭建完成
後臺/admin
閱讀更多 一顆優雅草科技 的文章