Browse Source

Better remote errors

pull/40/head
8chan 10 years ago
committed by Fredrick Brennan
parent
commit
eea984859b
  1. 2
      post.php

2
post.php

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

Loading…
Cancel
Save