Просмотр исходного кода

Fix bug with redurant redirect

If I use nginx to assign 127.0.0.1:8083 with one of named VirtualHost - I have error when login by user (Browser redirect me to self domain name with 8083 port, which is already closed).
Also this fix doesn't break anything on default use.
sfer23 11 лет назад
Родитель
Сommit
850d215c1f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/index.php

+ 1 - 1
web/index.php

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