Camen Design Forum

Delete

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

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[2]: 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

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn