|
@ -295,6 +295,7 @@ if (isset($_POST['delete'])) { |
|
|
curl_setopt($curl, CURLOPT_USERAGENT, 'Tinyboard'); |
|
|
curl_setopt($curl, CURLOPT_USERAGENT, 'Tinyboard'); |
|
|
curl_setopt($curl, CURLOPT_BINARYTRANSFER, true); |
|
|
curl_setopt($curl, CURLOPT_BINARYTRANSFER, true); |
|
|
curl_setopt($curl, CURLOPT_FILE, $fp); |
|
|
curl_setopt($curl, CURLOPT_FILE, $fp); |
|
|
|
|
|
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']); |
|
|