diff options
Diffstat (limited to '')
-rw-r--r-- | doc/ChangeLog | 7 | ||||
-rw-r--r-- | install/upgrade_1.4.0.php | 29 | ||||
-rw-r--r-- | 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' + ) ;" ); |