Skip to content
Snippets Groups Projects
Commit 797afa4c authored by tbrehm's avatar tbrehm
Browse files

Fixed LOGIN_REDIRECT:/index.php error.

parent 1ba01fe1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment