From: Andrew Dolgov Date: Fri, 31 Mar 2006 05:34:26 +0000 (+0100) Subject: remove calls to error.php X-Git-Tag: 1.1.5~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f2b6a2d420e41bf87d4c0774aabdfea02b2bba6f;p=tt-rss.git remove calls to error.php --- diff --git a/stats.php b/stats.php index 730bea25..1d7d5efc 100644 --- a/stats.php +++ b/stats.php @@ -12,8 +12,7 @@ login_sequence($link); if ($_SESSION["access_level"] < 10) { - header("Location: error.php?c=8"); - exit; + header("Location: login.php"); die; } ?> diff --git a/tt-rss.js b/tt-rss.js index 9b77aa53..81c1c40f 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -699,13 +699,6 @@ function debug(msg) { } function fatalError(code, message) { -/* if (!params) { - window.location = "error.php?c=" + param_escape(code); - } else { - window.location = "error.php?c=" + param_escape(code) + - "&p=" + param_escape(params); - } */ - try { var fe = document.getElementById("fatal_error"); var fc = document.getElementById("fatal_error_msg");