From 3ea895c901362fecb120933f1631b4cc27e293d1 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 23 Nov 2006 17:39:05 +0000 Subject: config file umbenant git-svn-id: svn://svn.cccv.de/engel-system@171 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/admin/EngelType.php | 4 ++-- www-ssl/admin/schichtplan_druck.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'www-ssl/admin') diff --git a/www-ssl/admin/EngelType.php b/www-ssl/admin/EngelType.php index 4ea68c98..03f89b85 100755 --- a/www-ssl/admin/EngelType.php +++ b/www-ssl/admin/EngelType.php @@ -7,7 +7,7 @@ include("./inc/funktion_db.php"); function runSQL( $SQL) { - include( "./inc/db.php"); + global $con; // hier muesste das SQL ausgefuehrt werden... $Erg = mysql_query($SQL, $con); if ($Erg) @@ -27,7 +27,7 @@ function runSQL( $SQL) function runSQL_log( $SQL, $commed) { - include( "./inc/db.php"); + global $con; // hier muesste das SQL ausgefuehrt werden... $Erg = db_query($SQL, $commed); if ($Erg) diff --git a/www-ssl/admin/schichtplan_druck.php b/www-ssl/admin/schichtplan_druck.php index 3ec0cfe5..55dc2041 100755 --- a/www-ssl/admin/schichtplan_druck.php +++ b/www-ssl/admin/schichtplan_druck.php @@ -79,7 +79,7 @@ else //################################################################# $Raum = $_POST["Raum"]; $ausdatum = $_POST["ausdatum"]; - include ("./inc/db.php"); + include ("./inc/config_db.php"); include ("./inc/config.php"); include ("./inc/secure.php"); //var wird nur gesetzt immer edit auszublenden, achtung sesion darf nicht gestart sein !!! -- cgit v1.2.3-54-g00ecf