mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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:
parent
b5ab155d5c
commit
bdc09b9751
@ -211,6 +211,13 @@ if (isset ($_GET["bye"])) {
|
|||||||
exit ("</html>");
|
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
|
// Header
|
||||||
if ($config["pure"] == 0) {
|
if ($config["pure"] == 0) {
|
||||||
echo '<div id="container"><div id="head">';
|
echo '<div id="container"><div id="head">';
|
||||||
@ -227,12 +234,6 @@ else {
|
|||||||
// Session locking concurrency speedup!
|
// Session locking concurrency speedup!
|
||||||
session_write_close ();
|
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
|
// Main block of content
|
||||||
if ($config["pure"] == 0) {
|
if ($config["pure"] == 0) {
|
||||||
|
@ -66,8 +66,8 @@ function ChangeDBAction(causer) {
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$version = "4.0";
|
$version = '4.0';
|
||||||
$build = "110923";
|
$build = '110923';
|
||||||
$banner = "v$version Build $build";
|
$banner = "v$version Build $build";
|
||||||
|
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user