bug db_query corrected

This commit is contained in:
Benjamin Sonntag 2006-04-26 14:50:29 +00:00
parent 4e444d92e0
commit dc5ad969b0
1 changed files with 7 additions and 7 deletions

View File

@ -78,13 +78,6 @@ require_once($root."class/db_mysql.php");
require_once($root."class/functions.php");
require_once($root."class/variables.php");
if (!$_SERVER["HTTPS"]) {
$conf=variable_init();
if ($conf["force_https"]) {
header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);
}
}
// Classe héritée de la classe db de la phplib.
/**
* Class for MySQL management in the bureau
@ -113,6 +106,13 @@ $db= new DB_system();
// Current User ID = the user whose commands are made on behalf of.
$cuid=0;
if (!$_SERVER["HTTPS"]) {
$conf=variable_init();
if ($conf["force_https"]) {
header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);
}
}
$classes=array();
/* CLASSES PHP4 : automatic include : */
$c=opendir($root."class/");