1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 16:46:30 +02:00

core: Move initialization for static paths to rssbridge.php

Bridge, Format and Cache are all part of the core logic of RSS-Bridge
and should therefore be initialized centrally
This commit is contained in:
logmanoriginal
2018-11-10 19:42:49 +01:00
parent 697d63bb96
commit 2104fc4d58
3 changed files with 12 additions and 7 deletions

View File

@@ -80,10 +80,6 @@ $whitelist_default = array(
try {
Bridge::setDir(PATH_LIB_BRIDGES);
Format::setDir(PATH_LIB_FORMATS);
Cache::setDir(PATH_LIB_CACHES);
if(!file_exists(WHITELIST_FILE)) {
$whitelist_selection = $whitelist_default;
$whitelist_write = implode("\n", $whitelist_default);