[RssBridge] Use require_once instead of require
"The require_once statement is identical to require except PHP will check if the file has already been included, and if so, not include (require) it again." -- http://php.net/manual/en/function.require-once.php
This commit is contained in:
parent
22e8f8b4aa
commit
f564925ba0
1 changed files with 15 additions and 15 deletions
|
@ -7,22 +7,22 @@ Licence: Public domain.
|
||||||
|
|
||||||
define('PATH_VENDOR', __DIR__ . '/../vendor');
|
define('PATH_VENDOR', __DIR__ . '/../vendor');
|
||||||
|
|
||||||
require __DIR__ . '/Exceptions.php';
|
require_once __DIR__ . '/Exceptions.php';
|
||||||
require __DIR__ . '/Format.php';
|
require_once __DIR__ . '/Format.php';
|
||||||
require __DIR__ . '/FormatAbstract.php';
|
require_once __DIR__ . '/FormatAbstract.php';
|
||||||
require __DIR__ . '/Bridge.php';
|
require_once __DIR__ . '/Bridge.php';
|
||||||
require __DIR__ . '/BridgeAbstract.php';
|
require_once __DIR__ . '/BridgeAbstract.php';
|
||||||
require __DIR__ . '/FeedExpander.php';
|
require_once __DIR__ . '/FeedExpander.php';
|
||||||
require __DIR__ . '/Cache.php';
|
require_once __DIR__ . '/Cache.php';
|
||||||
require __DIR__ . '/Authentication.php';
|
require_once __DIR__ . '/Authentication.php';
|
||||||
require __DIR__ . '/Configuration.php';
|
require_once __DIR__ . '/Configuration.php';
|
||||||
require __DIR__ . '/BridgeCard.php';
|
require_once __DIR__ . '/BridgeCard.php';
|
||||||
require __DIR__ . '/BridgeList.php';
|
require_once __DIR__ . '/BridgeList.php';
|
||||||
require __DIR__ . '/ParameterValidator.php';
|
require_once __DIR__ . '/ParameterValidator.php';
|
||||||
|
|
||||||
require __DIR__ . '/html.php';
|
require_once __DIR__ . '/html.php';
|
||||||
require __DIR__ . '/error.php';
|
require_once __DIR__ . '/error.php';
|
||||||
require __DIR__ . '/contents.php';
|
require_once __DIR__ . '/contents.php';
|
||||||
|
|
||||||
require_once PATH_VENDOR . '/simplehtmldom/simple_html_dom.php';
|
require_once PATH_VENDOR . '/simplehtmldom/simple_html_dom.php';
|
||||||
require_once PATH_VENDOR . '/php-urljoin/src/urljoin.php';
|
require_once PATH_VENDOR . '/php-urljoin/src/urljoin.php';
|
||||||
|
|
Loading…
Reference in a new issue