login (); } catch (Exception $e) {} $params = [ 'file' ,'line' ,'message' ,'stack' ]; if (!$this->checkParams ($_REQUEST, $params)) return FALSE; $user = isset ($_SESSION['user']) ? $_SESSION['user'] : 'guest'; error_log (sprintf ("Javascript: User: %s: %s(%d): %s.\n%s" ,$user ,$_REQUEST['file'] ,$_REQUEST['line'] ,$_REQUEST['message'] ,$_REQUEST['stack'] )); return TRUE; } } ?>