소스 검색

Add a simple TODO

Marien Fressinaud 12 년 전
부모
커밋
595bf40c70
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/views/index/index.phtml

+ 2 - 0
app/views/index/index.phtml

@@ -17,6 +17,8 @@ if ($this->loginOk || Minz_Configuration::allowAnonymous()) {
 		$this->renderHelper ('view/normal_view');
 	}
 } elseif ($output === 'rss') {
+	// TODO: verification of token and redirection must be done in the
+	// controller, not in the view
 	$token = $this->conf->token;
 	$token_param = Minz_Request::param ('token', '');
 	$token_is_ok = ($token != '' && $token == $token_param);