aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-26 03:35:20 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-26 03:35:20 +0000
commit12182ddcfeced9934f45f20a3859049066ce0726 (patch)
tree01112ee697fa5f7cfb421fee0e6d212069ed1d58 /include/common.inc.php
parent9e770f68a31109748880b9027dfd43d1495f13df (diff)
plugins: first prototype version
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/common.inc.php')
-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