core: Move REPOSITORY from index.php to RssBridge.php

This commit is contained in:
logmanoriginal 2018-11-06 18:53:35 +01:00
parent 9910310652
commit 95bd206e9d
2 changed files with 1 additions and 1 deletions

View file

@ -49,7 +49,6 @@ if (isset($argv)) {
$params = $_GET;
}
define('REPOSITORY', 'https://github.com/RSS-Bridge/rss-bridge/');
define('USER_AGENT',
'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20121202 Firefox/30.0(rss-bridge/'
. Configuration::$VERSION

View file

@ -6,6 +6,7 @@ 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
define('PATH_CACHE', __DIR__ . '/../cache'); // Path to cache folder
define('REPOSITORY', 'https://github.com/RSS-Bridge/rss-bridge/');
// Classes
require_once PATH_LIB . 'Exceptions.php';