mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Add new WEB_ROOT constant
This commit is contained in:
parent
f55cf4b7a3
commit
56aaab7152
5 changed files with 8 additions and 6 deletions
|
@ -29,9 +29,11 @@ const AVERAGE_READING_WORDS_PER_MINUTE = 275;
|
|||
// No trailing slash on any of the below constants.
|
||||
const SITE_URL = 'https://standardebooks.org';
|
||||
const SITE_ROOT = '/standardebooks.org';
|
||||
const TEMPLATES_PATH = SITE_ROOT . '/web/templates';
|
||||
const WEB_ROOT = SITE_ROOT . '/web/www';
|
||||
const REPOS_PATH = SITE_ROOT . '/ebooks';
|
||||
const EBOOKS_DIST_PATH = SITE_ROOT . '/web/www/ebooks/';
|
||||
const TEMPLATES_PATH = SITE_ROOT . '/web/templates';
|
||||
const MANUAL_PATH = WEB_ROOT . '/manual';
|
||||
const EBOOKS_DIST_PATH = WEB_ROOT . '/ebooks/';
|
||||
|
||||
const GITHUB_SECRET_FILE_PATH = SITE_ROOT . '/config/secrets/se-vcs-bot@github.com'; // Set in the GitHub organization global webhook settings.
|
||||
const GITHUB_WEBHOOK_LOG_FILE_PATH = '/var/log/local/webhooks-github.log'; // Must be writable by `www-data` Unix user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue