조회수 설정 기능을 추가함 #103

This commit is contained in:
qw5414 2016-01-15 19:13:35 +09:00
parent 349ee07f60
commit e33bdb9b92
7 changed files with 69 additions and 44 deletions

View file

@ -485,7 +485,9 @@ class documentAdminController extends document
function procDocumentAdminInsertConfig()
{
// Get the basic information
$config = Context::gets('thumbnail_type');
$config = new stdClass();
$config->thumbnail_type = Context::get('thumbnail_type');
$config->updateCount = Context::get('updatecount');
// Insert by creating the module Controller object
$oModuleController = getController('module');
$output = $oModuleController->insertModuleConfig('document',$config);