diff options
Diffstat (limited to 'moe')
| -rw-r--r-- | moe/panel/index.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/moe/panel/index.php b/moe/panel/index.php index fea40e8..8b959bf 100644 --- a/moe/panel/index.php +++ b/moe/panel/index.php @@ -39,6 +39,9 @@ if(!isset($_SESSION['id'])){ header('Location: ../login/'); } + if($_SESSION['id'] == '1'){ + header('Location: ../mod/'); + } echo 'Hi '.$_SESSION['email'];?></h1> <span class="byline">Are you being cayoot today?</span> </header> @@ -112,4 +115,4 @@ xmlhttp.send(); </div> </body> -</html>
\ No newline at end of file +</html> |
