bug db_query corrected
This commit is contained in:
parent
4e444d92e0
commit
dc5ad969b0
|
@ -78,13 +78,6 @@ require_once($root."class/db_mysql.php");
|
||||||
require_once($root."class/functions.php");
|
require_once($root."class/functions.php");
|
||||||
require_once($root."class/variables.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.
|
// Classe héritée de la classe db de la phplib.
|
||||||
/**
|
/**
|
||||||
* Class for MySQL management in the bureau
|
* 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.
|
// Current User ID = the user whose commands are made on behalf of.
|
||||||
$cuid=0;
|
$cuid=0;
|
||||||
|
|
||||||
|
if (!$_SERVER["HTTPS"]) {
|
||||||
|
$conf=variable_init();
|
||||||
|
if ($conf["force_https"]) {
|
||||||
|
header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$classes=array();
|
$classes=array();
|
||||||
/* CLASSES PHP4 : automatic include : */
|
/* CLASSES PHP4 : automatic include : */
|
||||||
$c=opendir($root."class/");
|
$c=opendir($root."class/");
|
||||||
|
|
Loading…
Reference in New Issue