Dotclear

Changeset 3545:28e634881d70


Ignore:
Timestamp:
06/22/17 19:43:01 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Give a way to mute the potential annoying warning about future minimum PHP version → define this constant in config.php and voila!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/prepend.php

    r3534 r3545  
    152152define('DC_DEFAULT_TPLSET','mustek'); 
    153153define('DC_DEFAULT_JQUERY','1.4.2'); 
    154 define('DC_NEXT_REQUIRED_PHP','5.5');   // Announced in 2.12, will be required in 2.13 
     154 
     155if (!defined('DC_NEXT_REQUIRED_PHP')) { 
     156     define('DC_NEXT_REQUIRED_PHP','5.5');   // Announced in 2.12, will be required in 2.13 
     157} 
    155158 
    156159if (!defined('DC_VENDOR_NAME')) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map