2011-09-26 Sancho Lerena <slerena@artica.es>

* 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
This commit is contained in:
slerena 2011-09-26 19:59:49 +00:00
parent b5ab155d5c
commit bdc09b9751
2 changed files with 9 additions and 8 deletions

View File

@ -211,6 +211,13 @@ if (isset ($_GET["bye"])) {
exit ("</html>");
}
/**
* 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 '<div id="container"><div id="head">';
@ -227,12 +234,6 @@ 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) {

View File

@ -66,8 +66,8 @@ function ChangeDBAction(causer) {
<?php
$version = "4.0";
$build = "110923";
$version = '4.0';
$build = '110923';
$banner = "v$version Build $build";
error_reporting(0);