LSerror : Added LSlog() call on addErrorCode() method

This commit is contained in:
Benjamin Renard 2011-04-22 14:30:04 +02:00
parent a53c5c3d92
commit 1b8d363ccc

View file

@ -64,6 +64,7 @@ class LSerror {
*/
public static function addErrorCode($code=-1,$msg='') {
$_SESSION['LSerror'][] = array($code,$msg);
LSlog('[ERROR] '.self::getError(array($code,$msg)));
}
/**