From 12182ddcfeced9934f45f20a3859049066ce0726 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 26 Oct 2006 03:35:20 +0000 Subject: plugins: first prototype version git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/common.inc.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/common.inc.php') 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 -- cgit v1.2.3