瀏覽代碼

Fix class not found on Unix OS

Alan Lam 4 年之前
父節點
當前提交
96f41a7f80
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      controllers/home.php

+ 1 - 1
controllers/home.php

@@ -31,7 +31,7 @@ if($email) {
 		$_SESSION["user_id"] = $user->id;
 
 		Session::addAlert("success", __("Logged in successfully."));
-		HTTP::redirect("/dashboard");
+		Http::redirect("/dashboard");
 	}
 	catch(\Exception $e) {
 		Session::addAlert("danger", $e->getMessage());