조회수 설정을 세분화하여 선택하도록 함.

This commit is contained in:
qw5414 2016-01-19 15:34:16 +09:00
parent 9659ecca83
commit b2d4d5edd2
5 changed files with 43 additions and 39 deletions

View file

@ -916,7 +916,7 @@ class documentModel extends document
$config = $oModuleModel->getModuleConfig('document');
if(!$config) $config = new stdClass();
if(!$config->thumbnail_type) $config->thumbnail_type = 'crop';
if(!$config->view_count_option) $config->view_count_option = 'once';
$GLOBALS['__document_config__'] = $config;
}
return $GLOBALS['__document_config__'];