Files
archived-web-windows/include/config.php
Christoph M. Becker a54c0acc49 Don't hard-code the base URL of the Website
Instead we make it configurable, to ease local development (and
potentially moving the Website).
2021-01-20 14:50:07 +01:00

17 lines
614 B
PHP

<?php
define('BASE_URL', 'https://windows.php.net/');
define('APP_PATH', 'C:/domains/windows.php.net/');
define('SNAPS_DIR', APP_PATH . 'docroot/downloads/snaps/');
define('RELEASES_DIR', APP_PATH . 'docroot/downloads/releases/');
define('QA_DIR', APP_PATH . 'docroot/downloads/qa/');
define('DATA_DIR', APP_PATH . '/data/');
define('LIB_DIR', APP_PATH . '/include/');
define('NEWS_DIR', APP_PATH . '/news/');
define('TPL_PATH', APP_PATH . '/templates/');
define('DOCROOT', APP_PATH . '/docroot');
define('SNAPS_URL', '/downloads/snaps/');
define('MODE_RELEASE', 0);
define('MODE_SNAP', 1);
define('MODE_QA', 2);