Camen Design Forum

Nginx support

Druid

Working with Nginx under subfolder;

git remote add upstream https://github.com/Kroc/NoNonsenseForum.git
git fetch --all
git checkout -b mirror-v26 v26
git checkout master
git checkout develop
grep -rl theme | xargs sed -i 's=\/themes=/forum/themes=g'
git add -u .
git commit -m "fix theme base url, moved from root to forum subfolder"
grep -rl thread --exclude-dir=.git | xargs sed -i 's=thread\.php=forum/thread.php=g'
git add -u .
git commit -m "fix thread.php base url, moved from root to forum subfolder"
grep -rl index --exclude-dir=.git | xargs sed -i 's=index\.php=forum/index.php=g'
git add -u .
git commit -m "fix index.php base url, moved from root to forum subfolder"
git push

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn