diff options
Diffstat (limited to 'www-ssl/inc')
-rwxr-xr-x | www-ssl/inc/error_handler.php | 2 | ||||
-rwxr-xr-x | www-ssl/inc/funktion_db_list.php | 2 | ||||
-rwxr-xr-x | www-ssl/inc/funktion_faq.php | 2 | ||||
-rwxr-xr-x | www-ssl/inc/funktion_xml_schudle.php | 2 | ||||
-rwxr-xr-x | www-ssl/inc/header.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/www-ssl/inc/error_handler.php b/www-ssl/inc/error_handler.php index 8c152ba8..e444e18c 100755 --- a/www-ssl/inc/error_handler.php +++ b/www-ssl/inc/error_handler.php @@ -63,7 +63,7 @@ function send_message(&$message) { chdir(dirname(__FILE__)); - require_once('../inc/jabber.php'); + require_once('../inc/config_jabber.php'); if (isset($jabber_recipient) && count($jabber_recipient)) { $jabber = new Jabber($server, $port, $username, $password, $resource); diff --git a/www-ssl/inc/funktion_db_list.php b/www-ssl/inc/funktion_db_list.php index 894de5e5..fbf1c821 100755 --- a/www-ssl/inc/funktion_db_list.php +++ b/www-ssl/inc/funktion_db_list.php @@ -2,7 +2,7 @@ function funktion_db_list($Table_Name) { -include ("./inc/db.php"); + global $con; $SQL = "SELECT * FROM `".$Table_Name."`"; $Erg = mysql_query($SQL, $con); diff --git a/www-ssl/inc/funktion_faq.php b/www-ssl/inc/funktion_faq.php index 36e3170b..7b6b526c 100755 --- a/www-ssl/inc/funktion_faq.php +++ b/www-ssl/inc/funktion_faq.php @@ -1,7 +1,7 @@ <?PHP function noAnswer() { - include ("./inc/db.php"); + global $con; $SQL = "SELECT UID FROM Questions WHERE (Answer=\"\")"; $Res=mysql_query($SQL, $con); diff --git a/www-ssl/inc/funktion_xml_schudle.php b/www-ssl/inc/funktion_xml_schudle.php index 4fd750fd..93e664b3 100755 --- a/www-ssl/inc/funktion_xml_schudle.php +++ b/www-ssl/inc/funktion_xml_schudle.php @@ -9,8 +9,8 @@ echo "\n\n<h1>Schudle:</h1>\n"; function SaveSchedule() { global $RoomID, $RoomName; + global $con; - include ("./inc/db.php"); if( isset($_GET["PSIDXML"]) && isset($_GET["DateXML"]) && isset($_GET["RIDXML"]) && diff --git a/www-ssl/inc/header.php b/www-ssl/inc/header.php index 47d50690..ab11066c 100755 --- a/www-ssl/inc/header.php +++ b/www-ssl/inc/header.php @@ -1,7 +1,7 @@ <?PHP include ("./inc/error_handler.php"); include ("./inc/config.php"); -include ("./inc/db.php"); +include ("./inc/config_db.php"); include ("./inc/funktion_lang.php"); include ("./inc/funktion_menu.php"); |