From 180f785171f6957ec1aef18b33086f4f487e9a05 Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 26 Sep 2011 19:59:49 +0000 Subject: [PATCH] 2011-09-26 Sancho Lerena * index.php: Fixed load of extension startup hook function. Fixed last commit hide the extensions O_o git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/index.php | 13 +++++++------ pandora_console/install.php | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pandora_console/index.php b/pandora_console/index.php index 3b30e4db10..05e50b03cd 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -211,6 +211,13 @@ if (isset ($_GET["bye"])) { exit (""); } +/** + * 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']); + + // Header if ($config["pure"] == 0) { echo '