From f2b6a2d420e41bf87d4c0774aabdfea02b2bba6f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Mar 2006 06:34:26 +0100 Subject: [PATCH] remove calls to error.php --- stats.php | 3 +-- tt-rss.js | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) 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"); -- 2.39.5