NOISSUE PHP 버전 호환성 개선

This commit is contained in:
bnu 2013-12-17 18:41:11 +09:00
parent cd1dfda2a2
commit 0ccf7bb6a8
7 changed files with 57 additions and 35 deletions

View file

@ -913,6 +913,7 @@ class documentModel extends document
{
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('document');
if(!$config) $config = new stdClass;
if(!$config->thumbnail_type) $config->thumbnail_type = 'crop';
$GLOBALS['__document_config__'] = $config;
}