Changeset 911 for trunk/install


Ignore:
Timestamp:
Oct 23, 2005, 11:02:21 PM (19 years ago)
Author:
plg
Message:
  • 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...
Location:
trunk/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/upgrade_1.4.0.php

    r870 r911  
    6161   \'upload_maxwidth_thumbnail\',
    6262   \'upload_maxheight_thumbnail\',
    63    \'mail_notification\'
     63   \'mail_notification\',
     64   \'use_iptc\',
     65   \'use_exif\',
     66   \'show_iptc\',
     67   \'show_exif\',
     68   \'authorize_remembering\'
    6469   )
    6570;';
     
    251256  SET value = 'yoga'
    252257  WHERE param = 'default_template'
     258;",
     259
     260  "
     261INSERT INTO ".CONFIG_TABLE."
     262  (param,value,comment)
     263  VALUES
     264  (
     265    'gallery_title',
     266    'PhpWebGallery demonstration site',
     267    'Title at top of each page and for RSS feed'
     268  )
     269;",
     270
     271  "
     272INSERT INTO ".CONFIG_TABLE."
     273  (param,value,comment)
     274  VALUES
     275  (
     276    'gallery_description',
     277    'My photos web site',
     278    'Short description displayed with gallery title'
     279  )
    253280;"
    254281
  • trunk/install/upgrade_1.4.1.php

    r870 r911  
    6161   \'upload_maxwidth_thumbnail\',
    6262   \'upload_maxheight_thumbnail\',
    63    \'mail_notification\'
     63   \'mail_notification\',
     64   \'use_iptc\',
     65   \'use_exif\',
     66   \'show_iptc\',
     67   \'show_exif\',
     68   \'authorize_remembering\'
    6469   )
    6570;';
     
    251256  SET value = 'yoga'
    252257  WHERE param = 'default_template'
     258;",
     259
     260  "
     261INSERT INTO ".CONFIG_TABLE."
     262  (param,value,comment)
     263  VALUES
     264  (
     265    'gallery_title',
     266    'PhpWebGallery demonstration site',
     267    'Title at top of each page and for RSS feed'
     268  )
     269;",
     270
     271  "
     272INSERT INTO ".CONFIG_TABLE."
     273  (param,value,comment)
     274  VALUES
     275  (
     276    'gallery_description',
     277    'My photos web site',
     278    'Short description displayed with gallery title'
     279  )
    253280;"
    254281
Note: See TracChangeset for help on using the changeset viewer.