diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9c980bc8b3..6733e6b311 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-09-26 Sancho Lerena + + * index.php: Fixed load of extension startup hook function. + 2011-09-26 Javier Lanz * godmode/alerts/alert_commands.php: Fixed updating a command. diff --git a/pandora_console/index.php b/pandora_console/index.php index 3aaab15b39..3b30e4db10 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -67,10 +67,6 @@ if (file_exists (ENTERPRISE_DIR."/load_enterprise.php")) { include_once (ENTERPRISE_DIR."/load_enterprise.php"); } -/** - * Load the basic configurations of extension and add extensions into menu. - */ -extensions_load_extensions ($config['extensions']); if (!empty ($config["https"]) && empty ($_SERVER['HTTPS'])) { $query = 'https://' . $_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']; @@ -231,6 +227,12 @@ else { // Session locking concurrency speedup! session_write_close (); +/** + * Load the basic configurations of extension and add extensions into menu. + * Load here, because if not, some extensions not load well, I don't why. + */ +extensions_load_extensions ($config['extensions']); + // Main block of content if ($config["pure"] == 0) {