Commit 797afa4c authored by tbrehm's avatar tbrehm

Fixed LOGIN_REDIRECT:/index.php error.

parent 1ba01fe1
......@@ -94,8 +94,8 @@ class auth {
public function check_module_permissions($module) {
// Check if the current user has the permissions to access this module
if(!stristr($_SESSION["s"]["user"]["modules"],$module)) {
echo "LOGIN_REDIRECT:/index.php";
//header("Location: ../index.php");
// echo "LOGIN_REDIRECT:/index.php";
header("Location: /index.php");
exit;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment