]> git.mxchange.org Git - friendica.git/commitdiff
The timestamp was at the wrong place
authorMichael Vogel <icarus@dabo.de>
Mon, 6 Apr 2015 11:49:57 +0000 (13:49 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 6 Apr 2015 11:49:57 +0000 (13:49 +0200)
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);