Dotclear

Changeset 3237:f77fcf59c4b7


Ignore:
Timestamp:
03/27/16 11:37:23 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
3233:88beb660cdd0 (diff), 3236:b55d50fc4301 (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.9.1

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/dbschema/upgrade.php

    r3232 r3237  
    540540          } 
    541541 
     542          if (version_compare($version,'2.10','<=')) 
     543          { 
     544               @unlink(DC_ROOT.'/'.'admin/js/jsUpload/vendor/jquery.ui.widget.js'); 
     545               @rmdir(DC_ROOT.'/'.'admin/js/jsUpload/vendor'); 
     546          } 
     547 
    542548          $core->setVersion('core',DC_VERSION); 
    543549          $core->blogDefaults(); 
  • inc/prepend.php

    r3235 r3237  
    142142# Constants 
    143143define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    144 define('DC_VERSION','2.9.1'); 
     144define('DC_VERSION','2.10-dev'); 
    145145define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    146146define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
     
    189189if (!defined('DC_ALLOW_MULTI_MODULES')) { 
    190190     define('DC_ALLOW_MULTI_MODULES',false); 
     191} 
     192 
     193if (!defined('DC_CRYPT_ALGO')) { 
     194     define('DC_CRYPT_ALGO','sha1');    // As in Dotclear 2.9 and previous 
     195} else { 
     196     // Check length of cryptographic algorithm result and exit if less than 40 characters long 
     197     if (strlen(crypt::hmac(DC_MASTER_KEY,DC_VENDOR_NAME,DC_CRYPT_ALGO)) < 40) { 
     198          if (!defined('DC_CONTEXT_ADMIN')) { 
     199               exit('Site temporarily unavailable'); 
     200          } else { 
     201               exit(DC_CRYPT_ALGO.' cryptographic algorithm configured is not strong enough, please change it.'); 
     202          } 
     203     } 
    191204} 
    192205 
Note: See TracChangeset for help on using the changeset viewer.

Sites map