diff --git a/http2pic.class.php b/http2pic.class.php index 3954e9c..c4db38c 100644 --- a/http2pic.class.php +++ b/http2pic.class.php @@ -279,7 +279,7 @@ class http2pic function isURLReachable($url) { $ch = curl_init($url); - curl_setopt($ch, CURLOPT_NOBODY, true); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);