forked from blallo/rss-bridge
defines can be configured
especially useful to define different paths for CACHE and WHITELIST
This commit is contained in:
parent
3ce4a0e87f
commit
9017634747
1 changed files with 8 additions and 3 deletions
|
@ -1,12 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
require_once __DIR__ . '/lib/RssBridge.php';
|
require_once __DIR__ . '/lib/RssBridge.php';
|
||||||
|
|
||||||
|
include __DIR__ . '/config.defines.php';
|
||||||
|
|
||||||
|
if(!defined('PHP_VERSION_REQUIRED'))
|
||||||
define('PHP_VERSION_REQUIRED', '5.6.0');
|
define('PHP_VERSION_REQUIRED', '5.6.0');
|
||||||
|
|
||||||
// Specify directory for cached files (using FileCache)
|
// Specify directory for cached files (using FileCache)
|
||||||
define('CACHE_DIR', '/var/cache/rss-bridge');
|
if(!defined('CACHE_DIR'))
|
||||||
|
define('CACHE_DIR', __DIR__ . '/cache');
|
||||||
|
|
||||||
// Specify path for whitelist file
|
// Specify path for whitelist file
|
||||||
|
if(!defined('WHITELIST_FILE'))
|
||||||
define('WHITELIST_FILE', __DIR__ . '/whitelist.txt');
|
define('WHITELIST_FILE', __DIR__ . '/whitelist.txt');
|
||||||
|
|
||||||
Configuration::verifyInstallation();
|
Configuration::verifyInstallation();
|
||||||
|
|
Loading…
Reference in a new issue