diff --git a/lam/templates/login.php b/lam/templates/login.php index 669e48b6..3cc8e706 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -72,7 +72,8 @@ if (ini_get("session.auto_start") == "1") { $memLimit = ini_get('memory_limit'); if (isset($memLimit) && ($memLimit != '') && (substr(strtoupper($memLimit), strlen($memLimit) - 1) == 'M')) { if (intval(substr($memLimit, 0, strlen($memLimit) - 1)) < 64) { - $criticalErrors[] = array("ERROR", "Please increase the \"memory_limit\" parameter in your php.ini to at least \"64M\"."); + $criticalErrors[] = array("ERROR", "Please increase the \"memory_limit\" parameter in your php.ini to at least \"64M\".", + "Your current memory limit is $memLimit."); } } // stop login if critical errors occured