aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/post/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/post/main.php')
-rw-r--r--core/include/post/main.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/include/post/main.php b/core/include/post/main.php
index 3cdb792..aa5dc50 100644
--- a/core/include/post/main.php
+++ b/core/include/post/main.php
@@ -52,6 +52,11 @@ try {
'OG_IMAGES' => $post_data['FILE']['LIST']
]);
+ # Get access to the current item data from main template
+ $MainTemplate->set('TYPE', 'POST');
+ $MainTemplate->set('POST', $post_data);
+ $MainTemplate->set('USER', $user_data);
+
echo $MainTemplate;
}