diff options
author | plegall <plg@piwigo.org> | 2005-10-23 21:02:21 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-10-23 21:02:21 +0000 |
commit | aa27a6b5982a8d884e06f8b45bef7f012a2dea3b (patch) | |
tree | 79490f203451b2d4e9f01249cee1a84f766a29df /install | |
parent | 9fc85a0473287a0ad16dfe37766ff3e8148e2322 (diff) |
- 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
Diffstat (limited to 'install')
-rw-r--r-- | install/upgrade_1.4.0.php | 29 | ||||
-rw-r--r-- | install/upgrade_1.4.1.php | 29 |
2 files changed, 56 insertions, 2 deletions
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' + ) ;" ); |