plugins: first prototype version

git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-10-26 03:35:20 +00:00
parent 9e770f68a3
commit 12182ddcfe
13 changed files with 459 additions and 14 deletions
+3
View File
@@ -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