2009-03-05 Esteban Sanchez <estebans@artica.es>

* include/functions_config.php: Fixed auth files inclusion that may
        fail in some cases.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2009-03-05 14:34:39 +00:00
parent c50c73eecf
commit d54394321b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-03-05 Esteban Sanchez <estebans@artica.es>
* include/functions_config.php: Fixed auth files inclusion that may
fail in some cases.
2009-03-05 Esteban Sanchez <estebans@artica.es> 2009-03-05 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder_wizard.php: Style correction. Use * godmode/reporting/map_builder_wizard.php: Style correction. Use

View File

@ -214,9 +214,9 @@ function process_config () {
$config["id_user"] = $_SESSION["id_usuario"]; $config["id_user"] = $_SESSION["id_usuario"];
if (!isset ($config["auth"])) { if (!isset ($config["auth"])) {
require_once ("include/auth/mysql.php"); require_once ($config["homedir"]."/include/auth/mysql.php");
} else { } else {
require_once ("include/auth/".$config["auth"]["scheme"].".php"); require_once ($config["homedir"]."/include/auth/".$config["auth"]["scheme"].".php");
} }
/* Finally, check if any value was overwritten in a form */ /* Finally, check if any value was overwritten in a form */