]> git.sur5r.net Git - contagged/blobdiff - inc/template.php
added sizelimit info
[contagged] / inc / template.php
index 93095a182e60d956c1e892403f7769cd4431c76e..279ca4ca01b713bdc793d8f14c8eefe2a4d15fbd 100644 (file)
@@ -96,7 +96,10 @@ function tpl_ldaperror($message=""){
     $__LDAPERROR__ .= ldap_err2str($errno);
     if(!empty($message)){
       $__LDAPERROR__ .= "($message)";
+    }elseif($errno == 4){
+      $__LDAPERROR__ .= "(You need to increase this limit in your server config)";
     }
+    $__LDAPERROR__ .= '<br />';
   }
   $smarty->assign("LDAPERRORS",$__LDAPERROR__);
 }