Better remote errors

This commit is contained in:
8chan 2014-05-27 23:45:05 +00:00 committed by Fredrick Brennan
parent 76567cbd38
commit eea984859b

View File

@ -324,7 +324,7 @@ if (isset($_POST['delete'])) {
curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); curl_setopt($curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
if (curl_exec($curl) === false) if (curl_exec($curl) === false)
error($config['error']['nomove']); error($config['error']['nomove'] . '<br/>Curl says: ' . curl_error($curl));
curl_close($curl); curl_close($curl);