diff options
author | Andrew Dolgov <[email protected]> | 2006-03-31 06:34:26 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-03-31 06:34:26 +0100 |
commit | f2b6a2d420e41bf87d4c0774aabdfea02b2bba6f (patch) | |
tree | bb772b5cbe2c526d6f8878bc688a64f036346161 | |
parent | 462a192bd576b1d27debcb89212456d1232c2ed8 (diff) |
remove calls to error.php
-rw-r--r-- | stats.php | 3 | ||||
-rw-r--r-- | tt-rss.js | 7 |
2 files changed, 1 insertions, 9 deletions
@@ -12,8 +12,7 @@ login_sequence($link); if ($_SESSION["access_level"] < 10) { - header("Location: error.php?c=8"); - exit; + header("Location: login.php"); die; } ?> @@ -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"); |