- bug 181 fixed: "Parameters not created in phpwebgallery_config during

upgrade". gallery_title and gallery_description had not been added to
  config table. (use|show)_(exif|iptc) and authorize_remembering have also
  been removed...


git-svn-id: http://piwigo.org/svn/trunk@911 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall 2005-10-23 21:02:21 +00:00
parent 9fc85a0473
commit aa27a6b598
3 changed files with 63 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-10-23 Pierrick LE GALL
* bug 181 fixed: "Parameters not created in phpwebgallery_config
during upgrade". gallery_title and gallery_description had not
been added to config table. (use|show)_(exif|iptc) and
authorize_remembering have also been removed...
2005-10-22 chrisaga
* bug 177 fixed: icon tools wrong position in Safari and Konqueror

View file

@ -60,7 +60,12 @@ DELETE
\'upload_maxheight\',
\'upload_maxwidth_thumbnail\',
\'upload_maxheight_thumbnail\',
\'mail_notification\'
\'mail_notification\',
\'use_iptc\',
\'use_exif\',
\'show_iptc\',
\'show_exif\',
\'authorize_remembering\'
)
;';
mysql_query($query);
@ -250,6 +255,28 @@ UPDATE ".CONFIG_TABLE."
UPDATE ".CONFIG_TABLE."
SET value = 'yoga'
WHERE param = 'default_template'
;",
"
INSERT INTO ".CONFIG_TABLE."
(param,value,comment)
VALUES
(
'gallery_title',
'PhpWebGallery demonstration site',
'Title at top of each page and for RSS feed'
)
;",
"
INSERT INTO ".CONFIG_TABLE."
(param,value,comment)
VALUES
(
'gallery_description',
'My photos web site',
'Short description displayed with gallery title'
)
;"
);

View file

@ -60,7 +60,12 @@ DELETE
\'upload_maxheight\',
\'upload_maxwidth_thumbnail\',
\'upload_maxheight_thumbnail\',
\'mail_notification\'
\'mail_notification\',
\'use_iptc\',
\'use_exif\',
\'show_iptc\',
\'show_exif\',
\'authorize_remembering\'
)
;';
mysql_query($query);
@ -250,6 +255,28 @@ UPDATE ".CONFIG_TABLE."
UPDATE ".CONFIG_TABLE."
SET value = 'yoga'
WHERE param = 'default_template'
;",
"
INSERT INTO ".CONFIG_TABLE."
(param,value,comment)
VALUES
(
'gallery_title',
'PhpWebGallery demonstration site',
'Title at top of each page and for RSS feed'
)
;",
"
INSERT INTO ".CONFIG_TABLE."
(param,value,comment)
VALUES
(
'gallery_description',
'My photos web site',
'Short description displayed with gallery title'
)
;"
);