remove calls to error.php

This commit is contained in:
Andrew Dolgov 2006-03-31 06:34:26 +01:00
parent 462a192bd5
commit f2b6a2d420
2 changed files with 1 additions and 9 deletions

View File

@ -12,8 +12,7 @@
login_sequence($link);
if ($_SESSION["access_level"] < 10) {
header("Location: error.php?c=8");
exit;
header("Location: login.php"); die;
}
?>

View File

@ -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");