Merge pull request #342 from sfer23/patch-1

Fix bug with redurant redirect
This commit is contained in:
Serghey Rodin 2015-03-03 22:43:08 +02:00
commit 9a63491f08

View file

@ -1,7 +1,7 @@
<?php <?php
session_start(); session_start();
if (isset($_SESSION['user'])) { if (isset($_SESSION['user'])) {
header("Location: /list/user"); header("Location: /list/user/");
} else { } else {
header("Location: /login/"); header("Location: /login/");
} }