tbrehm
2009-03-01 797afa4c1f7c7f5862642a9d30f4eb87b6cb6757
Fixed LOGIN_REDIRECT:/index.php error.
1 files modified
4 ■■■■ changed files
interface/lib/classes/auth.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/classes/auth.inc.php
@@ -94,8 +94,8 @@
    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;
        }
    }