diff --git a/rss.php b/rss.php index 7be2705b..77cc04e6 100644 --- a/rss.php +++ b/rss.php @@ -8,11 +8,11 @@ $_SERVER['HTTP_HOST'] = 'www.toutpratique.com'; $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; $_SERVER['SERVER_PORT'] = 80; -require './config/config.inc.php'; -require './init.php'; +require dirname(__FILE__).'/config/config.inc.php'; +require dirname(__FILE__).'/init.php'; -require './modules/cmsps/classes/CmsPsPost.php'; -require './modules/cmsps/classes/CmsPsCategory.php'; +require dirname(__FILE__).'/modules/cmsps/classes/CmsPsPost.php'; +require dirname(__FILE__).'/modules/cmsps/classes/CmsPsCategory.php'; generateRSS('boutique'); generateRSS('cms');