From bde1cf74783039ebdfb8e3e85e31dd76385ae089 Mon Sep 17 00:00:00 2001 From: ToutPratique Date: Thu, 3 Nov 2016 12:33:57 +0100 Subject: [PATCH] modif require Fatal Error rss --- rss.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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');