diff --git a/cis/public/news.php b/cis/public/news.php index 101862518..0a9afb070 100644 --- a/cis/public/news.php +++ b/cis/public/news.php @@ -19,13 +19,8 @@ * Andreas Oesterreicher and * Rudolf Hangl . */ - require_once('../config.inc.php'); + require_once('../../config/cis.config.inc.php'); require_once('../../include/news.class.php'); - - //Connection Herstellen - if(!$conn = pg_pconnect(CONN_STRING)) - die("Fehler beim öffnen der Datenbankverbindung"); - ?> @@ -49,8 +44,7 @@
getnews(MAXNEWSALTER,0,null, false, null, MAXNEWS); $zaehler=0; $open=true; @@ -79,8 +73,6 @@ '; echo "

"; } - - if($zaehler==0) echo 'Zur Zeit gibt es keine aktuellen News!'; ?>