1
0
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:
Cameron
2021-06-01 16:07:38 -07:00
parent 8023a2b9f6
commit 3a71366954
4 changed files with 10 additions and 4 deletions

View File

@@ -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