$_GET 변수를 Context::get()으로 대체

쓰이지 않는 변수 $_get 제거.
$_GET 변수 대신 Context::get() 사용.
This commit is contained in:
lansi951 2014-01-19 17:02:51 +09:00
parent eb2d12ee4c
commit abe2026f98

View file

@ -402,8 +402,7 @@ class boardView extends board
}
// set the current page of documents
$_get = $_GET;
if(!$args->page && ($_GET['document_srl'] || $_GET['entry']))
if(!$args->page && (Context::get('document_srl') || Context::get('entry')))
{
$oDocument = $oDocumentModel->getDocument(Context::get('document_srl'));
if($oDocument->isExists() && !$oDocument->isNotice())