PHP 5.3.2 required
This commit is contained in:
parent
4324843792
commit
7e41184e8f
|
@ -1,10 +1,13 @@
|
||||||
March 2015
|
March 2015
|
||||||
- templates for server profiles
|
- Requires PHP 5.3.2 or higher
|
||||||
|
- Templates for server profiles
|
||||||
- Unix/Personal: support SASL as password hash type
|
- Unix/Personal: support SASL as password hash type
|
||||||
- PDF export: added option to print primary group members
|
- PDF export: added option to print primary group members
|
||||||
- Use HTTP_X_REAL_IP/HTTP_X_FORWARDED_FOR to log IP addresses (RFE 120)
|
- Use HTTP_X_REAL_IP/HTTP_X_FORWARDED_FOR to log IP addresses (RFE 120)
|
||||||
- LAM Pro:
|
- LAM Pro:
|
||||||
-> Personal: support image file size limit and cropping (requires php-imagick) in self service
|
-> Personal: support image file size limit and cropping (requires php-imagick) in self service
|
||||||
|
- fixed bugs:
|
||||||
|
-> Self Service shows password reuse error after password change was required
|
||||||
|
|
||||||
|
|
||||||
16.12.2014 4.8
|
16.12.2014 4.8
|
||||||
|
|
|
@ -186,10 +186,6 @@ function pwd_hash($password, $enabled = true, $hashType = 'SSHA') {
|
||||||
* @return array hash types
|
* @return array hash types
|
||||||
*/
|
*/
|
||||||
function getSupportedHashTypes() {
|
function getSupportedHashTypes() {
|
||||||
if (version_compare(phpversion(), '5.3.2') < 0) {
|
|
||||||
// CRYPT-SHA512 requires PHP 5.3.2 or higher
|
|
||||||
return array('CRYPT', 'SHA', 'SSHA', 'MD5', 'SMD5', 'PLAIN', 'SASL');
|
|
||||||
}
|
|
||||||
return array('CRYPT', 'CRYPT-SHA512', 'SHA', 'SSHA', 'MD5', 'SMD5', 'PLAIN', 'SASL');
|
return array('CRYPT', 'CRYPT-SHA512', 'SHA', 'SSHA', 'MD5', 'SMD5', 'PLAIN', 'SASL');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2010 - 2013 Roland Gruber
|
Copyright (C) 2010 - 2015 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -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.2.4') < 0) {
|
if (version_compare(phpversion(), '5.3.2') < 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";
|
||||||
|
|
Loading…
Reference in New Issue