Open Source Program: Mixcm Treehole
Nexmoe October 7, 2017
This article is an AI translation and may contain semantic inaccuracies.
Mixcm Treehole, a project I built in one afternoon.
License: MIT
Just keep the author credit. Thanks to copyright trolls, the author has stopped updating.
Links
Github: https://github.com/mixcm/lovewall/releases
Screenshots
Home

Submit form

Pseudo-static
Apache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^mous/page/(.*)$ /index.php?mous=&page=$1
RewriteRule ^mous/(.*)/page/(.*)$ /index.php?mous=$1&page=$2
RewriteRule ^mous/(.*)$ /index.php?mous=$1&page=1
RewriteRule ^pages/(.*)$ /index.php?pages=$1
</IfModule>
Nginx
rewrite ^/mous/page/(.*)$ /index.php?mous=&page=$1;
rewrite ^/mous/(.*)/page/(.*)$ /index.php?mous=$1&page=$2;
rewrite ^/mous/(.*)$ /index.php?mous=$1&page=1;
rewrite ^/pages/(.*)$ /index.php?pages=$1;
Database Notes
Import database
Import options.sql and contents.sql from the root directory into your database.
Connect database
Update your DB info in /require/function.php line 3.
'mysql'=>'localhost', //DB host
'name'=>'root', //DB user
'password'=>'', //DB password
'dbname'=>'lovewall' //DB name
Site info changes
You can change corresponding fields in the options table.
