mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add option to create no thumbnails
This commit is contained in:
parent
e225d258c0
commit
667c8bb634
4 changed files with 8 additions and 2 deletions
|
|
@ -816,7 +816,7 @@ class adminAdminController extends admin
|
|||
// Thumbnail settings
|
||||
$oDocumentModel = getModel('document');
|
||||
$document_config = $oDocumentModel->getDocumentConfig();
|
||||
$document_config->thumbnail_type = $vars->thumbnail_type === 'ratio' ? 'ratio' : 'crop';
|
||||
$document_config->thumbnail_type = $vars->thumbnail_type ?: 'crop';
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->insertModuleConfig('document', $document_config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue