diff options
Diffstat (limited to 'core/include/page')
-rw-r--r-- | core/include/page/main.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/include/page/main.php b/core/include/page/main.php index e50445a..7f1aa02 100644 --- a/core/include/page/main.php +++ b/core/include/page/main.php @@ -52,6 +52,11 @@ try { 'OG_IMAGES' => $page_data['FILE']['LIST'] ]); + # Get access to the current item data from main template + $MainTemplate->set('TYPE', 'PAGE'); + $MainTemplate->set('PAGE', $page_data); + $MainTemplate->set('USER', $user_data); + echo $MainTemplate; } |