Php知乎源碼說明

ThinkPhp框架高仿知乎問答社區源碼,響應式布局兼容手機端,對接支付接口。
Php知乎源碼安裝方法
1、上傳到網站根目錄
2、用phpMyadmin導入數據庫文件cnmmm.com.sql
3、修改數據庫鏈接文件/system/config/database.php
(記得不要用記事本修改,否則可能會出現驗證碼顯示不了問題,建議用notepad++)
4,設置僞靜态thinkphp框架
location/{if(!-e$request_filename){rewrite^(.*)$/index.php?s=$1 last;break;}}
location/{if(!-e$request_filename){rewrite^(.*)$/index.php?s=$1 last;break;}}
location/{if(!-e$request_filename){rewrite^(.*)$/index.php?s=$1 last;break;}}
5、後台地址http://您域名/admin, 帳号 admin 密碼 cnmmm.com