config file umbenant
git-svn-id: svn://svn.cccv.de/engel-system@171 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
6c52da6bf5
commit
3ea895c901
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
include("./inc/funktion_db.php");
|
||||
|
||||
$con = mysql_connect("localhost", "user", "pass") or die ("connection failed");
|
||||
$sel = mysql_select_db("tabel") or die (mysql_error());
|
||||
?>
|
|
@ -3,7 +3,7 @@
|
|||
/****************************************************************************************************/
|
||||
// INCLUDE
|
||||
/****************************************************************************************************/
|
||||
require_once('./inc/jabber.php');
|
||||
require_once('./inc/config_jabber.php');
|
||||
require_once("./inc/funktion_jabber.php");
|
||||
include("./inc/config_MessegeServer.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)
|
||||
|
|
|
@ -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 !!!
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"]) &&
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
$title = "Anmeldung zum Chaos-Engel";
|
||||
$header = "";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/db.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/crypt.php");
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
$title = "Index";
|
||||
$header = "Index";
|
||||
|
||||
include ("./inc/db.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/crypt.php");
|
||||
|
||||
session_start(); // alte Session - falls vorhanden - wiederherstellen...
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
$title = "Kommentare zu den News";
|
||||
$header = "Kommentar";
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/db.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
include ("./inc/db.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/funktion_user.php");
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
include ("./inc/config.php");
|
||||
include ("./inc/db.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/funktion_lang.php");
|
||||
|
||||
include ("./inc/funktion_user.php");
|
||||
|
|
Loading…
Reference in New Issue