diff --git a/ag/rss.php b/ag/rss.php index 2afa1fc..b8de055 100644 --- a/ag/rss.php +++ b/ag/rss.php @@ -5,9 +5,10 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence * @author jester */ +include_once('path.inc.php'); // get the path ;) +include_once(ROOT_PATH.'/include/config.inc.php'); header("Content-type: text/xml"); echo ''; -include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php'); $nachrichten = mysql_query('SELECT * FROM ff11_news order by id DESC LIMIT 10');