From: Tobias Diekershoff Date: Sun, 3 Jan 2016 18:15:13 +0000 (+0100) Subject: moved include Scape to top of the file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75ed2f830d14ca6d45d18e5d790db7bc58687ead;p=friendica.git moved include Scape to top of the file --- 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)) {