mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
NOISSUE PHP 버전 호환성 개선
This commit is contained in:
parent
dc41e3c4a3
commit
efa5ec4c0c
6 changed files with 9 additions and 6 deletions
|
|
@ -913,7 +913,8 @@ class documentModel extends document
|
|||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('document');
|
||||
if(!$config) $config = new stdClass;
|
||||
|
||||
if(!$config) $config = new stdClass();
|
||||
if(!$config->thumbnail_type) $config->thumbnail_type = 'crop';
|
||||
$GLOBALS['__document_config__'] = $config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue