[rssbridge] Use PATH_ROOT whenever possible

This commit is contained in:
logmanoriginal 2019-06-07 19:51:00 +02:00
parent ccf375e917
commit 0e30468e0f

View file

@ -15,31 +15,31 @@
define('PATH_ROOT', __DIR__ . '/../'); define('PATH_ROOT', __DIR__ . '/../');
/** Path to the core library */ /** 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 */ /** Path to the vendor library */
define('PATH_LIB_VENDOR', __DIR__ . '/../vendor/'); define('PATH_LIB_VENDOR', PATH_ROOT . 'vendor/');
/** Path to the bridges library */ /** Path to the bridges library */
define('PATH_LIB_BRIDGES', __DIR__ . '/../bridges/'); define('PATH_LIB_BRIDGES', PATH_ROOT . 'bridges/');
/** Path to the formats library */ /** Path to the formats library */
define('PATH_LIB_FORMATS', __DIR__ . '/../formats/'); define('PATH_LIB_FORMATS', PATH_ROOT . 'formats/');
/** Path to the caches library */ /** Path to the caches library */
define('PATH_LIB_CACHES', __DIR__ . '/../caches/'); define('PATH_LIB_CACHES', PATH_ROOT . 'caches/');
/** Path to the actions library */ /** Path to the actions library */
define('PATH_LIB_ACTIONS', __DIR__ . '/../actions/'); define('PATH_LIB_ACTIONS', PATH_ROOT . 'actions/');
/** Path to the cache folder */ /** Path to the cache folder */
define('PATH_CACHE', __DIR__ . '/../cache/'); define('PATH_CACHE', PATH_ROOT . 'cache/');
/** Path to the whitelist file */ /** Path to the whitelist file */
define('WHITELIST', __DIR__ . '/../whitelist.txt'); define('WHITELIST', PATH_ROOT . 'whitelist.txt');
/** Path to the default whitelist file */ /** 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 */ /** Path to the configuration file */
define('FILE_CONFIG', PATH_ROOT . 'config.ini.php'); define('FILE_CONFIG', PATH_ROOT . 'config.ini.php');