aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index d0376afe8..e77d41f89 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -158,6 +158,8 @@ if ($user['is_the_guest'])
// template instance
$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template'], $user['theme'] );
+load_plugins();
+
if ($conf['gallery_locked'])
{
$header_msgs[] = $lang['gallery_locked_message'];
@@ -191,6 +193,7 @@ if ($conf['check_upgrade_feed']
and defined('PHPWG_IN_UPGRADE')
and PHPWG_IN_UPGRADE)
{
+
// retrieve already applied upgrades
$query = '
SELECT id