Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
797afa4c
Commit
797afa4c
authored
Mar 01, 2009
by
tbrehm
Browse files
Fixed LOGIN_REDIRECT:/index.php error.
parent
1ba01fe1
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/lib/classes/auth.inc.php
View file @
797afa4c
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment