Merge pull request #2237 from tobiasd/20160103b
moved include Scape to top of the file
This commit is contained in:
commit
ecf576bdd0
1 changed files with 1 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once('include/enotify.php');
|
require_once('include/enotify.php');
|
||||||
|
require_once('include/Scrape.php');
|
||||||
|
|
||||||
if(! function_exists('dfrn_request_init')) {
|
if(! function_exists('dfrn_request_init')) {
|
||||||
function dfrn_request_init(&$a) {
|
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
|
* 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);
|
$parms = scrape_dfrn($dfrn_url);
|
||||||
|
|
||||||
if(! count($parms)) {
|
if(! count($parms)) {
|
||||||
|
|
Loading…
Reference in a new issue