aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-07-16 05:41:12 +0000
committerrub <rub@piwigo.org>2008-07-16 05:41:12 +0000
commitbf8ffbbdf9cf91620733999cb6133bd2171ee043 (patch)
tree28d5aecb8724d8885ebac0e2309c9c2544acdbed
parent9c96b905ff3327ad5264b794048b6c71bbc5e4ee (diff)
Remove warning off extend_for_templates.php
Add new in config.sql git-svn-id: http://piwigo.org/svn/trunk@2437 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/extend_for_templates.php2
-rw-r--r--install/config.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/admin/extend_for_templates.php b/admin/extend_for_templates.php
index c6319368a..7f1dbe5b9 100644
--- a/admin/extend_for_templates.php
+++ b/admin/extend_for_templates.php
@@ -177,7 +177,7 @@ foreach ($tpl_extension as $file => $conditions)
}
foreach ($new_extensions as $file)
{
- $tpl_extension[$file] = array('N/A' => 'N/A');
+ $tpl_extension[$file] = array('N/A', 'N/A');
}
$template->set_filenames(array('extend_for_templates'
diff --git a/install/config.sql b/install/config.sql
index 36ec2088a..679535941 100644
--- a/install/config.sql
+++ b/install/config.sql
@@ -27,3 +27,4 @@ INSERT INTO piwigo_config (param,value,comment) VALUES ('obligatory_user_mail_ad
INSERT INTO piwigo_config (param,value,comment) VALUES ('c13y_ignore',null,'List of ignored anomalies');
INSERT INTO piwigo_config (param,value,comment) VALUES ('upload_link_everytime','false','Show upload link every time');
INSERT INTO piwigo_config (param,value,comment) VALUES ('upload_user_access',2 /*ACCESS_CLASSIC*/,'User access level to upload');
+INSERT INTO piwigo_config (param,value,comment) VALUES ('extents_for_templates','a:0:{}','Actived template-extension(s)');