define RSS_FILE in config

This commit is contained in:
Mitsukarenai 2013-03-23 15:07:02 +01:00
parent 77a418e7a8
commit ed10c11dee
2 changed files with 2 additions and 1 deletions

View file

@ -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');

View file

@ -1,5 +1,5 @@
<?php
if (!defined('RSS_FILE')) define('RSS_FILE', 'rss.xml');
function NoProtocolSiteURL($url) {
$protocols = array("http://", "https://");