use tplset according to current theme
This commit is contained in:
parent
057d865766
commit
21eb52577d
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,8 @@ class urlSaba extends dcUrlHandlers
|
|||
$GLOBALS['_from_error'] = true;
|
||||
|
||||
# Serve saba
|
||||
self::serveDocument('saba_404_default.html');
|
||||
$tplset = dcCore::app()->themes->moduleInfo(dcCore::app()->blog->settings->system->theme, 'tplset');
|
||||
self::serveDocument('saba_404_' . (!empty($tplset) && in_array($tplset, ['dotty', 'mustek']) ? $tplset : 'default') . '.html');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue