]> git.mxchange.org Git - friendica.git/blobdiff - mod/parse_url.php
Merge pull request #1669 from annando/1506-ostatus-v3
[friendica.git] / mod / parse_url.php
index 951c0701107f96f47df0abe7f8de1a7358bdb27b..71d767675f8c51a1b3cba44b3edae4e2bd0c7bf8 100644 (file)
@@ -105,8 +105,6 @@ function parseurl_getsiteinfo($url, $no_guessing = false, $do_oembed = true, $co
        if (($curl_info["content_type"] != "") AND !strstr(strtolower($curl_info["content_type"]),"html"))
                return($siteinfo);
 
-       $stamp1 = microtime(true);
-
        if ($do_oembed) {
                require_once("include/oembed.php");
 
@@ -125,6 +123,8 @@ function parseurl_getsiteinfo($url, $no_guessing = false, $do_oembed = true, $co
                }
        }
 
+       $stamp1 = microtime(true);
+
        // Now fetch the body as well
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);