Browse Source

Skip redirect and prompt for login

FusionPBX 2 năm trước cách đây
mục cha
commit
a55fb08945
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      index.php

+ 2 - 1
index.php

@@ -62,7 +62,8 @@
 			require_once "themes/".$_SESSION['domain']['template']['name']."/index.php";
 		}
 		else {
-			header("Location: ".PROJECT_PATH."/core/dashboard/");
+			//login prompt
+			require_once "resources/check_auth.php";
 		}
 	}