re-add old IDNA class so we do not have to force the php-5.6 requirement for froxlor

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-06-19 18:59:44 +02:00
parent 6c55a40606
commit 5789e9a8a4
6 changed files with 3489 additions and 11 deletions

View File

@@ -908,7 +908,11 @@ class FroxlorInstall
$content .= $this->_status_message('red', $this->_lng['requirements']['notfound'] . ' (' . PHP_VERSION . ')');
$_die = true;
} else {
$content .= $this->_status_message('green', PHP_VERSION);
if (version_compare("5.6.0", PHP_VERSION, ">=")) {
$content .= $this->_status_message('orange', $this->_lng['requirements']['newerphpprefered'] . ' (' .PHP_VERSION . ')');
} else {
$content .= $this->_status_message('green', PHP_VERSION);
}
}
// Check if magic_quotes_runtime is active | get_magic_quotes_runtime() is always FALSE since 5.4