mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
Better remote errors
This commit is contained in:
parent
b5a5c491ab
commit
23a533e0ec
2
post.php
2
post.php
@ -329,7 +329,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…
x
Reference in New Issue
Block a user