define RSS_FILE in config
This commit is contained in:
parent
77a418e7a8
commit
ed10c11dee
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ if(!defined('ROOT_DIR'))
|
|||
define('ROOT_DIR', dirname($_SERVER['SCRIPT_FILENAME']));
|
||||
}
|
||||
define('LOCAL_URI', '');
|
||||
if (!defined('RSS_FILE')) define('RSS_FILE', 'rss.xml');
|
||||
date_default_timezone_set('Europe/Paris');
|
||||
setlocale(LC_TIME, 'fr_FR.UTF-8', 'fr_FR', 'fr');
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
if (!defined('RSS_FILE')) define('RSS_FILE', 'rss.xml');
|
||||
|
||||
|
||||
function NoProtocolSiteURL($url) {
|
||||
$protocols = array("http://", "https://");
|
||||
|
|
Loading…
Reference in a new issue