summaryrefslogtreecommitdiffstats
path: root/core/include/page/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/page/main.php')
-rw-r--r--core/include/page/main.php5
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;
}