mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Added {THEME} shortcode (path) to core shortcodes.
This commit is contained in:
@@ -789,7 +789,7 @@ e107::getDebug()->logTime('Render Layout');
|
||||
|
||||
$psc = array(
|
||||
'magicSC'=>array(
|
||||
'{THEME}' => THEME_ABS,
|
||||
// '{THEME}' => THEME_ABS, // moved to e107_core/shortcodes/single/
|
||||
'{BODY_ONLOAD}' => $body_onload,
|
||||
'{LAYOUT_ID}' => 'layout-'.e107::getForm()->name2id(THEME_LAYOUT),
|
||||
'THEME_LAYOUT' => THEME_LAYOUT, // BC Fall-back: Catch and replace the missing constant- ony works with PHP < 8
|
||||
|
Reference in New Issue
Block a user