From 539a93b3f1aa2b373cf73a76762c615d9cca31bc Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 6 Apr 2015 13:49:57 +0200 Subject: [PATCH] The timestamp was at the wrong place --- mod/parse_url.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/parse_url.php b/mod/parse_url.php index 951c07011..71d767675 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -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);