require PHP 5.4.0
This commit is contained in:
parent
008469ca57
commit
8a7a18b361
|
@ -1,3 +1,6 @@
|
||||||
|
March 2016 5.3
|
||||||
|
- Requires PHP 5.4.0 or higher
|
||||||
|
|
||||||
15.12.2015 5.2
|
15.12.2015 5.2
|
||||||
- Windows: support for additional attributes (jpegPhoto, title, carLicense,
|
- Windows: support for additional attributes (jpegPhoto, title, carLicense,
|
||||||
employeeNumber, employeeType, businessCategory, departmentNumber, ou, o, manager)
|
employeeNumber, employeeType, businessCategory, departmentNumber, ou, o, manager)
|
||||||
|
|
|
@ -36,8 +36,8 @@ include_once("../lib/status.inc");
|
||||||
/** config */
|
/** config */
|
||||||
include_once("../lib/config.inc");
|
include_once("../lib/config.inc");
|
||||||
|
|
||||||
// check if PHP >= 5.3.2
|
// check if PHP >= 5.4.0
|
||||||
if (version_compare(phpversion(), '5.3.2') < 0) {
|
if (version_compare(phpversion(), '5.4.0') < 0) {
|
||||||
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n\n";
|
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n\n";
|
||||||
echo "<html>\n<head>\n";
|
echo "<html>\n<head>\n";
|
||||||
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n";
|
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n";
|
||||||
|
@ -46,7 +46,7 @@ if (version_compare(phpversion(), '5.3.2') < 0) {
|
||||||
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"../graphics/favicon.ico\">\n";
|
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"../graphics/favicon.ico\">\n";
|
||||||
echo "<title>LDAP Account Manager</title>\n";
|
echo "<title>LDAP Account Manager</title>\n";
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
StatusMessage("ERROR", "LAM needs a PHP 5 version which is greater or equal than 5.3.2.", "Please upgrade your PHP installation. The found version is " . phpversion());
|
StatusMessage("ERROR", "LAM needs a PHP 5 version which is greater or equal than 5.4.0.", "Please upgrade your PHP installation. The found version is " . phpversion());
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
echo "</body></html>";
|
echo "</body></html>";
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue