updated readme

master
Jan Danielzick 2020-03-03 14:15:12 +01:00
parent 534e227a21
commit 1ec014d5ce
1 changed files with 10 additions and 1 deletions

View File

@ -15,7 +15,16 @@ The following files and directories are linked to areas where they can be access
## Variables handled by the deployment script ## Variables handled by the deployment script
Here is the place for variables that will be replaced automatically on the server. Using them is encouraged. Using the paths is DISCOURAGED. Here is the place for variables that will be replaced automatically on the server. Using them is encouraged. Using the paths is DISCOURAGED.
This way, it is possible to change folder names around and fix the URLs in one place for all files simultaneously. This way, it is possible to change folder names around and fix the URLs in one place for all files simultaneously.
* `%CONTENT_DIR%` → The part of the URL between the domain name and the destination (e.g. https://lostcave.ddnss.de**/common/threadr/**about/)
### Pass 0:
Leave this file alone. It will be built automagically from a template navbar file.
* `%NAVBAR%` → the code used to build the navbar, should remain in pass 0 as it may contain other variables
### Pass 1:
Looks quite empty at this point
### Pass 2:
* `%CONTENT_DIR%` → The part of the URL between the domain name and the destination (e.g. https://lostcave.ddnss.de**/common/threadr/**about/), should remain in the last pass
* `%NO_CHEAP_SESSION_STEALING%` → checks the request origin against the values stored in the session cookie, add this before any actual data is transmitted (as in before any HTML code or echo commands because this affects the HTTP header)
* `%PLEAZE_NO_CACHE%` → adds header information, same as above goes here
## Some server variables that might turn out to be useful (example): ## Some server variables that might turn out to be useful (example):
{ {