mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 06:41:28 +00:00
remove calls to error.php
This commit is contained in:
@@ -12,8 +12,7 @@
|
|||||||
login_sequence($link);
|
login_sequence($link);
|
||||||
|
|
||||||
if ($_SESSION["access_level"] < 10) {
|
if ($_SESSION["access_level"] < 10) {
|
||||||
header("Location: error.php?c=8");
|
header("Location: login.php"); die;
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -699,13 +699,6 @@ function debug(msg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fatalError(code, message) {
|
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 {
|
try {
|
||||||
var fe = document.getElementById("fatal_error");
|
var fe = document.getElementById("fatal_error");
|
||||||
var fc = document.getElementById("fatal_error_msg");
|
var fc = document.getElementById("fatal_error_msg");
|
||||||
|
|||||||
Reference in New Issue
Block a user