mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Add option to set the site default image
This commit is contained in:
parent
3cf0e6017d
commit
e4453712b5
7 changed files with 128 additions and 1 deletions
|
|
@ -436,12 +436,14 @@ class adminAdminView extends admin
|
|||
// Mobile view
|
||||
Context::set('use_mobile_view', config('use_mobile_view') ? 'Y' : 'N');
|
||||
|
||||
// Favicon and mobicon
|
||||
// Favicon and mobicon and site default image
|
||||
$oAdminModel = getAdminModel('admin');
|
||||
$favicon_url = $oAdminModel->getFaviconUrl(false) ?: $oAdminModel->getFaviconUrl();
|
||||
$mobicon_url = $oAdminModel->getMobileIconUrl(false) ?: $oAdminModel->getMobileIconUrl();
|
||||
$site_default_image_url = $oAdminModel->getSiteDefaultImageUrl();
|
||||
Context::set('favicon_url', $favicon_url);
|
||||
Context::set('mobicon_url', $mobicon_url);
|
||||
Context::set('site_default_image_url', $site_default_image_url);
|
||||
|
||||
$this->setTemplateFile('config_general');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue