Skip to content

Commit

Permalink
Fixed issue #8526: No information when trying to install with php < 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 17, 2014
1 parent f5b5a01 commit 1a45b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/LSYii_Controller.php
Expand Up @@ -88,8 +88,8 @@ protected function _init()
// Do not localize/translate this!

$dieoutput='';
if (version_compare(PHP_VERSION, '5.1.6', '<'))
$dieoutput .= 'This script can only be run on PHP version 5.1.6 or later! Your version: '.PHP_VERSION.'<br />';
if (version_compare(PHP_VERSION, '5.3.0', '<'))
$dieoutput .= 'This script can only be run on PHP version 5.3.0 or later! Your version: '.PHP_VERSION.'<br />';

if (!function_exists('mb_convert_encoding'))
$dieoutput .= "This script needs the PHP Multibyte String Functions library installed: See <a href='http://manual.limesurvey.org/wiki/Installation_FAQ'>FAQ</a> and <a href='http://de.php.net/manual/en/ref.mbstring.php'>PHP documentation</a><br />";
Expand Down

0 comments on commit 1a45b81

Please sign in to comment.