Dotclear


Ignore:
Timestamp:
10/25/15 10:09:44 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
3128:3863cfaaae8d, 3130:dc667b6545bf
Parents:
3118:5c671c6fae8a (diff), 3125:3491c455735d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 2.8.2 into 2.9 (default)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/dbschema/upgrade.php

    r3115 r3126  
    455455               } 
    456456 
     457               if (version_compare($version,'2.8.1','<')) 
     458               { 
     459                    # Update flie exclusion upload regex 
     460                    $strReq = 'UPDATE '.$core->prefix.'setting '. 
     461                              " SET setting_value = '/\\.(phps?|pht(ml)?|phl)[0-9]*\$/i' ". 
     462                              " WHERE setting_id = 'media_exclusion' ". 
     463                              " AND setting_ns = 'system' ". 
     464                              " AND (setting_value = '/\\.php[0-9]*\$/i' ". 
     465                              "   OR setting_value = '/\\.php\$/i') "; 
     466                    $core->con->execute($strReq); 
     467               } 
     468 
    457469               if (version_compare($version,'2.9','<')) 
    458470               { 
  • inc/dbschema/upgrade.php

    r3122 r3126  
    467467               } 
    468468 
     469               if (version_compare($version,'2.9','<')) 
     470               { 
     471                    # Some new settings should be initialized, prepare db queries 
     472                    $strReq = 'INSERT INTO '.$core->prefix.'setting'. 
     473                              ' (setting_id,setting_ns,setting_value,setting_type,setting_label)'. 
     474                              ' VALUES(\'%s\',\'system\',\'%s\',\'integer\',\'%s\')'; 
     475                    $core->con->execute(sprintf($strReq,'media_video_width','400','Media video insertion width')); 
     476                    $core->con->execute(sprintf($strReq,'media_video_height','300','Media video insertion height')); 
     477               } 
     478 
    469479               $core->setVersion('core',DC_VERSION); 
    470480               $core->blogDefaults(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map