new PHP version
This commit is contained in:
parent
85c4de6c78
commit
7afd2dae11
|
@ -1,4 +1,6 @@
|
||||||
June 215
|
June 2015
|
||||||
|
- Requires PHP > 5.4.26
|
||||||
|
- Microsoft IE 8 no longer supported
|
||||||
- Security: added CSRF protection
|
- Security: added CSRF protection
|
||||||
- Zarafa users: allow to change display format of "Send As"
|
- Zarafa users: allow to change display format of "Send As"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ LAM - Readme
|
||||||
|
|
||||||
https://www.ldap-account-manager.org/
|
https://www.ldap-account-manager.org/
|
||||||
|
|
||||||
Copyright (C) 2003 - 2014 Roland Gruber <post@rolandgruber.de>
|
Copyright (C) 2003 - 2015 Roland Gruber <post@rolandgruber.de>
|
||||||
|
|
||||||
Installation and documentation:
|
Installation and documentation:
|
||||||
Please see the LAM manual in docs/manual/index.html.
|
Please see the LAM manual in docs/manual/index.html.
|
||||||
|
|
|
@ -37,7 +37,7 @@ include_once("../lib/status.inc");
|
||||||
include_once("../lib/config.inc");
|
include_once("../lib/config.inc");
|
||||||
|
|
||||||
// check if PHP >= 5.2.4
|
// check if PHP >= 5.2.4
|
||||||
if (version_compare(phpversion(), '5.3.2') < 0) {
|
if (version_compare(phpversion(), '5.4.26') < 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.2.4.", "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.26.", "Please upgrade your PHP installation. The found version is " . phpversion());
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
echo "</body></html>";
|
echo "</body></html>";
|
||||||
exit();
|
exit();
|
||||||
|
|
|
@ -194,10 +194,8 @@ class posixAccount extends baseModule implements passwordService {
|
||||||
$loginShellsHelp = new htmlHelpLink('loginShells', get_class($this));
|
$loginShellsHelp = new htmlHelpLink('loginShells', get_class($this));
|
||||||
$loginShellsHelp->alignment = htmlElement::ALIGN_TOP;
|
$loginShellsHelp->alignment = htmlElement::ALIGN_TOP;
|
||||||
$selfServiceContainer->addElement($loginShellsHelp, true);
|
$selfServiceContainer->addElement($loginShellsHelp, true);
|
||||||
if (version_compare(phpversion(), '5.4.26') >= 0) {
|
|
||||||
$selfServiceContainer->addElement(new htmlTableExtendedInputCheckbox('posixAccount_useOldPwd', false, _('Password change with old password')));
|
$selfServiceContainer->addElement(new htmlTableExtendedInputCheckbox('posixAccount_useOldPwd', false, _('Password change with old password')));
|
||||||
$selfServiceContainer->addElement(new htmlHelpLink('useOldPwd', get_class($this)), true);
|
$selfServiceContainer->addElement(new htmlHelpLink('useOldPwd', get_class($this)), true);
|
||||||
}
|
|
||||||
$return['selfServiceSettings'] = $selfServiceContainer;
|
$return['selfServiceSettings'] = $selfServiceContainer;
|
||||||
}
|
}
|
||||||
// profile checks
|
// profile checks
|
||||||
|
|
Loading…
Reference in New Issue