Procházet zdrojové kódy

Redirect to login instead

tags/rls1
kenn408k před 6 roky
rodič
revize
18f6c9f17a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      classes/design.class.php

+ 1
- 1
classes/design.class.php Zobrazit soubor

@@ -15,7 +15,7 @@ class Design {
15 15
     public static function header($setup = array(), $level) { // Primary design function. This function is called on all pages, this is our header.
16 16
         if ($level > 0) {
17 17
             if (!User::checkLevel($level)) {
18
-                header('Location: ' . Config::$sys_url . '?page=error&r=level');
18
+                header('Location: ' . Config::$sys_url . '?page=login&r=level');
19 19
                 die("You are not authorized to view this page.");
20 20
             }
21 21
         }

Načítá se…
Zrušit
Uložit