aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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)');