use tplset according to current theme
This commit is contained in:
parent
057d865766
commit
21eb52577d
@ -267,7 +267,8 @@ class urlSaba extends dcUrlHandlers
|
|||||||
$GLOBALS['_from_error'] = true;
|
$GLOBALS['_from_error'] = true;
|
||||||
|
|
||||||
# Serve saba
|
# 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user