diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cd6c15f343..e648053013 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2009-03-05 Esteban Sanchez + + * include/functions_config.php: Fixed auth files inclusion that may + fail in some cases. + 2009-03-05 Esteban Sanchez * godmode/reporting/map_builder_wizard.php: Style correction. Use diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index a74b60aa3a..8c2102b7d3 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -214,9 +214,9 @@ function process_config () { $config["id_user"] = $_SESSION["id_usuario"]; if (!isset ($config["auth"])) { - require_once ("include/auth/mysql.php"); + require_once ($config["homedir"]."/include/auth/mysql.php"); } 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 */