Dotclear


Ignore:
Timestamp:
09/04/18 11:14:41 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
3857:f3946d839070 (diff), 3855:08b090767191 (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.14.2 branch

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/dbschema/upgrade.php

    r3850 r3858  
    702702        } 
    703703 
     704        if (version_compare($version, '2.15', '<')) { 
     705            # switch from jQuery 1.11.3 to 1.12.4 
     706            $strReq = 'UPDATE ' . $core->prefix . 'setting ' . 
     707                " SET setting_value = '1.12.4' " . 
     708                " WHERE setting_id = 'jquery_version' " . 
     709                " AND setting_ns = 'system' " . 
     710                " AND setting_value = '1.11.3' "; 
     711            $core->con->execute($strReq); 
     712        } 
     713 
    704714        $core->setVersion('core', DC_VERSION); 
    705715        $core->blogDefaults(); 
  • inc/dbschema/upgrade.php

    r3829 r3858  
    688688        } 
    689689 
     690        if (version_compare($version, '2.14.2', '<')) { 
     691            # Update flie exclusion upload regex 
     692            $strReq = 'UPDATE ' . $core->prefix . 'setting ' . 
     693                " SET setting_value = '/\\.(phps?|pht(ml)?|phl|.?html?|js|htaccess)[0-9]*\$/i' " . 
     694                " WHERE setting_id = 'media_exclusion' " . 
     695                " AND setting_ns = 'system' " . 
     696                " AND (setting_value = '/\\.php[0-9]*\$/i' " . 
     697                "   OR setting_value = '/\\.php\$/i') " . 
     698                "   OR setting_value = '/\\.(phps?|pht(ml)?|phl)[0-9]*\$/i' " . 
     699                "   OR setting_value = '/\\.(phps?|pht(ml)?|phl|s?html?|js)[0-9]*\$/i'" . 
     700                "   OR setting_value = '/\\.(phps?|pht(ml)?|phl|s?html?|js|htaccess)[0-9]*\$/i'"; 
     701            $core->con->execute($strReq); 
     702        } 
     703 
    690704        if (version_compare($version, '2.15', '<')) { 
    691705            # switch from jQuery 1.11.3 to 1.12.4 
Note: See TracChangeset for help on using the changeset viewer.

Sites map