瀏覽代碼

Forgot one..

Moritz Schmidt 10 年之前
父節點
當前提交
0f6ff8751b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      includes/user.inc.php

+ 1 - 1
includes/user.inc.php

@@ -84,7 +84,7 @@ Class User {
 		$this->loggedIn	= false;
 		$this->loggedIn	= false;
 		unset($_SESSION['username']);
 		unset($_SESSION['username']);
 		session_destroy();
 		session_destroy();
-		header("Location: http://atoffice");
+		header("Location: " . $CONFIG['url']);
 	}
 	}
 
 
 }
 }