aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_request.php1
-rw-r--r--mod/display.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index ce422aa9f..60106661c 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -6,6 +6,7 @@ function dfrn_request_init(&$a) {
if($a->argc > 1)
$which = $a->argv[1];
+ require_once('mod/profile.php');
profile_init($a,$which);
return;
diff --git a/mod/display.php b/mod/display.php
index 1049b28a0..369161619 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -5,6 +5,7 @@ function display_content(&$a) {
$o = '<div id="live-display"></div>' . "\r\n";
+ require_once('mod/profile.php');
profile_init($a);
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);