From 75ed2f830d14ca6d45d18e5d790db7bc58687ead Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 3 Jan 2016 19:15:13 +0100 Subject: [PATCH] moved include Scape to top of the file --- mod/dfrn_request.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 99b933625e..2741ad59b4 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -10,6 +10,7 @@ */ require_once('include/enotify.php'); +require_once('include/Scrape.php'); if(! function_exists('dfrn_request_init')) { function dfrn_request_init(&$a) { @@ -112,8 +113,6 @@ function dfrn_request_post(&$a) { * Scrape the other site's profile page to pick up the dfrn links, key, fn, and photo */ - require_once('include/Scrape.php'); - $parms = scrape_dfrn($dfrn_url); if(! count($parms)) {