diff options
Diffstat (limited to 'moe/index.php')
| -rw-r--r-- | moe/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/moe/index.php b/moe/index.php index 0ff0176..70e081b 100644 --- a/moe/index.php +++ b/moe/index.php @@ -1,8 +1,8 @@ <?php session_start(); -if(isset($_SESSION['id'])){ - header('Location: includes/api.php?do=cp'); -}else{ - header('Location: login/'); + +if (isset($_SESSION['id'])) { + header('Location: includes/api.php?do=cp'); +} else { + header('Location: login/'); } -?>
\ No newline at end of file |
