From aa27a6b5982a8d884e06f8b45bef7f012a2dea3b Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 23 Oct 2005 21:02:21 +0000 Subject: - 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 --- doc/ChangeLog | 7 +++++++ install/upgrade_1.4.0.php | 29 ++++++++++++++++++++++++++++- install/upgrade_1.4.1.php | 29 ++++++++++++++++++++++++++++- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 26b3fb94d..d0e975252 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -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 diff --git a/install/upgrade_1.4.0.php b/install/upgrade_1.4.0.php index ea17f32a4..a5f8f38c6 100644 --- a/install/upgrade_1.4.0.php +++ b/install/upgrade_1.4.0.php @@ -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' + ) ;" ); diff --git a/install/upgrade_1.4.1.php b/install/upgrade_1.4.1.php index ea17f32a4..a5f8f38c6 100644 --- a/install/upgrade_1.4.1.php +++ b/install/upgrade_1.4.1.php @@ -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' + ) ;" ); -- cgit v1.2.3