mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
NOISSUE PHP 버전 호환성 개선
This commit is contained in:
parent
cd1dfda2a2
commit
0ccf7bb6a8
7 changed files with 57 additions and 35 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue