mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
Better remote errors
This commit is contained in:
parent
76567cbd38
commit
eea984859b
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…
Reference in New Issue
Block a user