Synchronzied PHP versions checker (5.0 instead of 5.2) - fixes CT#2127

skala
ywarnier 15 years ago
parent ed10448bd5
commit 52b42830c2
  1. 4
      main/inc/lib/diagnoser.lib.php

@ -96,8 +96,8 @@ class Diagnoser
// General Functions
$version = phpversion();
$status = $version > '5.2' ? self :: STATUS_OK : self :: STATUS_ERROR;
$array[] = $this->build_setting($status, '[PHP]', 'phpversion()', 'http://www.php.net/manual/en/function.phpversion.php', phpversion(), '>= 5.2', null, get_lang('PHPVersionInfo'));
$status = $version > '5.0' ? self :: STATUS_OK : self :: STATUS_ERROR;
$array[] = $this->build_setting($status, '[PHP]', 'phpversion()', 'http://www.php.net/manual/en/function.phpversion.php', phpversion(), '>= 5.0', null, get_lang('PHPVersionInfo'));
$setting = ini_get('output_buffering');
$req_setting = 1;

Loading…
Cancel
Save