2013-08-11 13:30:41 +02:00
|
|
|
<?php
|
|
|
|
|
2018-11-06 18:44:45 +01:00
|
|
|
define('PATH_LIB', __DIR__ . '/../lib/'); // Path to core library
|
|
|
|
define('PATH_LIB_VENDOR', __DIR__ . '/../vendor/'); // Path to vendor library
|
2018-11-06 18:42:24 +01:00
|
|
|
define('PATH_LIB_BRIDGES', __DIR__ . '/../bridges/'); // Path to bridges library
|
|
|
|
define('PATH_LIB_FORMATS', __DIR__ . '/../formats/'); // Path to formats library
|
|
|
|
define('PATH_LIB_CACHES', __DIR__ . '/../caches/'); // Path to caches library
|
2018-11-06 18:35:40 +01:00
|
|
|
define('PATH_CACHE', __DIR__ . '/../cache'); // Path to cache folder
|
2018-11-06 18:53:35 +01:00
|
|
|
define('REPOSITORY', 'https://github.com/RSS-Bridge/rss-bridge/');
|
2018-11-06 18:24:05 +01:00
|
|
|
|
2018-11-06 19:23:32 +01:00
|
|
|
// Interfaces
|
|
|
|
require_once PATH_LIB . 'BridgeInterface.php';
|
|
|
|
require_once PATH_LIB . 'CacheInterface.php';
|
|
|
|
require_once PATH_LIB . 'FormatInterface.php';
|
|
|
|
|
2018-11-06 18:29:00 +01:00
|
|
|
// Classes
|
2018-11-06 18:44:45 +01:00
|
|
|
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';
|
2018-11-06 18:24:05 +01:00
|
|
|
|
2018-11-06 18:29:00 +01:00
|
|
|
// Functions
|
2018-11-06 18:44:45 +01:00
|
|
|
require_once PATH_LIB . 'html.php';
|
|
|
|
require_once PATH_LIB . 'error.php';
|
|
|
|
require_once PATH_LIB . 'contents.php';
|
2013-08-11 13:30:41 +02:00
|
|
|
|
2018-11-06 18:29:00 +01:00
|
|
|
// Vendor
|
2018-11-06 18:44:45 +01:00
|
|
|
require_once PATH_LIB_VENDOR . 'simplehtmldom/simple_html_dom.php';
|
|
|
|
require_once PATH_LIB_VENDOR . 'php-urljoin/src/urljoin.php';
|