mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
[rssbridge] Use PATH_ROOT whenever possible
This commit is contained in:
parent
ccf375e917
commit
0e30468e0f
1 changed files with 9 additions and 9 deletions
|
@ -15,31 +15,31 @@
|
|||
define('PATH_ROOT', __DIR__ . '/../');
|
||||
|
||||
/** Path to the core library */
|
||||
define('PATH_LIB', __DIR__ . '/../lib/'); // Path to core library
|
||||
define('PATH_LIB', PATH_ROOT . 'lib/');
|
||||
|
||||
/** Path to the vendor library */
|
||||
define('PATH_LIB_VENDOR', __DIR__ . '/../vendor/');
|
||||
define('PATH_LIB_VENDOR', PATH_ROOT . 'vendor/');
|
||||
|
||||
/** Path to the bridges library */
|
||||
define('PATH_LIB_BRIDGES', __DIR__ . '/../bridges/');
|
||||
define('PATH_LIB_BRIDGES', PATH_ROOT . 'bridges/');
|
||||
|
||||
/** Path to the formats library */
|
||||
define('PATH_LIB_FORMATS', __DIR__ . '/../formats/');
|
||||
define('PATH_LIB_FORMATS', PATH_ROOT . 'formats/');
|
||||
|
||||
/** Path to the caches library */
|
||||
define('PATH_LIB_CACHES', __DIR__ . '/../caches/');
|
||||
define('PATH_LIB_CACHES', PATH_ROOT . 'caches/');
|
||||
|
||||
/** Path to the actions library */
|
||||
define('PATH_LIB_ACTIONS', __DIR__ . '/../actions/');
|
||||
define('PATH_LIB_ACTIONS', PATH_ROOT . 'actions/');
|
||||
|
||||
/** Path to the cache folder */
|
||||
define('PATH_CACHE', __DIR__ . '/../cache/');
|
||||
define('PATH_CACHE', PATH_ROOT . 'cache/');
|
||||
|
||||
/** Path to the whitelist file */
|
||||
define('WHITELIST', __DIR__ . '/../whitelist.txt');
|
||||
define('WHITELIST', PATH_ROOT . 'whitelist.txt');
|
||||
|
||||
/** Path to the default whitelist file */
|
||||
define('WHITELIST_DEFAULT', __DIR__ . '/../whitelist.default.txt');
|
||||
define('WHITELIST_DEFAULT', PATH_ROOT . 'whitelist.default.txt');
|
||||
|
||||
/** Path to the configuration file */
|
||||
define('FILE_CONFIG', PATH_ROOT . 'config.ini.php');
|
||||
|
|
Loading…
Reference in a new issue