rss-bridge/lib/RssBridge.php
logmanoriginal 2126db84ac core: Replace CACHE_DIR by PATH_CACHE
Move CACHE_DIR from index.php to /lib/RssBridge.php and change name
to PATH_CACHE.

PATH_CACHE is one of the core paths of RSS-Bridge and should therefore
be defined in the core file RssBridge.php.
2018-11-06 18:35:43 +01:00

28 lines
1,021 B
PHP

<?php
define('PATH_VENDOR', __DIR__ . '/../vendor'); // Path for vendor library
define('PATH_LIB', __DIR__ . '/../lib'); // Path for core library
define('PATH_CACHE', __DIR__ . '/../cache'); // Path to cache folder
// Classes
require_once PATH_LIB . '/Exceptions.php';
require_once PATH_LIB . '/Format.php';
require_once PATH_LIB . '/FormatAbstract.php';
require_once PATH_LIB . '/Bridge.php';
require_once PATH_LIB . '/BridgeAbstract.php';
require_once PATH_LIB . '/FeedExpander.php';
require_once PATH_LIB . '/Cache.php';
require_once PATH_LIB . '/Authentication.php';
require_once PATH_LIB . '/Configuration.php';
require_once PATH_LIB . '/BridgeCard.php';
require_once PATH_LIB . '/BridgeList.php';
require_once PATH_LIB . '/ParameterValidator.php';
// Functions
require_once PATH_LIB . '/html.php';
require_once PATH_LIB . '/error.php';
require_once PATH_LIB . '/contents.php';
// Vendor
require_once PATH_VENDOR . '/simplehtmldom/simple_html_dom.php';
require_once PATH_VENDOR . '/php-urljoin/src/urljoin.php';