1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 05:10:15 +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

@@ -4,9 +4,7 @@ use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestResult;
use PHPUnit\Framework\AssertionFailedError;
require_once(__DIR__ . '/../lib/rssbridge.php');
Bridge::setDir(PATH_LIB_BRIDGES);
require_once __DIR__ . '/../lib/rssbridge.php';
/**
* This class checks bridges for implementation details: