aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/mod/profile.php b/mod/profile.php
index cd5c3eeef..a307905e6 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -1,4 +1,12 @@
-<?php
+<?php /** @file */
+
+require_once('include/contact_widgets.php');
+require_once('include/items.php');
+require_once("include/bbcode.php");
+require_once('include/security.php');
+require_once('include/conversation.php');
+require_once('include/acl_selectors.php');
+
function profile_init(&$a) {
@@ -45,8 +53,6 @@ function profile_init(&$a) {
function profile_aside(&$a) {
- require_once('include/contact_widgets.php');
- require_once('include/items.php');
profile_create_sidebar($a);
@@ -60,11 +66,6 @@ function profile_content(&$a, $update = 0) {
}
- require_once("include/bbcode.php");
- require_once('include/security.php');
- require_once('include/conversation.php');
- require_once('include/acl_selectors.php');
- require_once('include/items.php');
$groups = array();