Dotclear

Changeset 3534:f33ffcf76153 for admin


Ignore:
Timestamp:
02/25/17 13:18:23 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Announce further requirements about PHP version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r3491 r3534  
    222222               '<p class="updt-info"><a href="'.$version_info.'">'.__('Information about this version').'</a>' : '').'</p>'. 
    223223               '</div>'; 
     224          } else { 
     225               echo '<p class="info">'. 
     226                    sprintf(__('A new version of Dotclear is available but needs PHP version ≥ %s, your\'s is currently %s'), 
     227                         $updater->getPHPVersion(),phpversion()). 
     228                    '</p>'; 
     229          } 
     230     } else { 
     231          if (version_compare(phpversion(),DC_NEXT_REQUIRED_PHP,'<')) { 
     232               echo '<p class="info">'. 
     233                    sprintf(__('The next versions of Dotclear will not support PHP version < 5.5, your\'s is currently %s'),phpversion()). 
     234                    '</p>'; 
    224235          } 
    225236     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map