瀏覽代碼

更改登入頁面位置

manto07m 3 年之前
父節點
當前提交
79d1f647d1
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      index.php
  2. 1 1
      script/php/Logout.php

+ 1 - 1
index.php

@@ -2,7 +2,7 @@
 session_start();
 //Can't come in without logged in
 if (!isset($_SESSION['loggedin'])) {
-	header('Location: pages-signin.html');
+	header('Location: ../Front-Page/pages-signin.html');
 	exit;
 }
 ?>

+ 1 - 1
script/php/Logout.php

@@ -1,5 +1,5 @@
 <?php
 session_start();
 session_destroy();
-header('Location: ../../pages-signin.html');
+header('Location: ../../../Front-Page/pages-signin.html');
 ?>