require PHP 5.2.4
This commit is contained in:
parent
f2b13006fc
commit
5257696592
|
@ -8,7 +8,7 @@ Homepage: http://www.ldap-account-manager.org/
|
||||||
|
|
||||||
Package: ldap-account-manager
|
Package: ldap-account-manager
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: php5 (>= 5.1), php5-ldap, php5-gd, apache2 | httpd, php-fpdf, libjs-jquery (>= 1.4.2), libjs-jquery-ui (>= 1.8), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
|
Depends: php5 (>= 5.2.4), php5-ldap, php5-gd, apache2 | httpd, php-fpdf, libjs-jquery (>= 1.4.2), libjs-jquery-ui (>= 1.8), debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends}
|
||||||
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
|
Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl
|
||||||
Description: webfrontend for managing accounts in an LDAP directory
|
Description: webfrontend for managing accounts in an LDAP directory
|
||||||
LDAP Account Manager (LAM) runs on an existing webserver.
|
LDAP Account Manager (LAM) runs on an existing webserver.
|
||||||
|
|
|
@ -33,8 +33,8 @@ $Id$
|
||||||
/** status messages */
|
/** status messages */
|
||||||
include_once("../lib/status.inc");
|
include_once("../lib/status.inc");
|
||||||
|
|
||||||
// check if PHP >= 5.1
|
// check if PHP >= 5.2.4
|
||||||
if (version_compare(phpversion(), '5.1.0') < 0) {
|
if (version_compare(phpversion(), '5.2.4') < 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";
|
||||||
|
@ -43,7 +43,7 @@ if (version_compare(phpversion(), '5.1.0') < 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.1.0.", "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.2.4.", "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