remove calls to error.php

master
Andrew Dolgov 19 years ago
parent 462a192bd5
commit f2b6a2d420

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

Loading…
Cancel
Save