summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-20 18:22:37 -0400
committerczaks <marcin@6irc.net>2013-08-20 18:22:37 -0400
commitde035f4a7ecf3e1da0dc408cab424d8a9a81678e (patch)
tree1b46b1a80330de57e2b7d1cce3ae2c68bc7ae6ae /post.php
parentf909fd190af4427dae1a8eddd4fa476c1243c433 (diff)
parentdb8173fe62829644a6cdf2e6a787b2ec2244c15b (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: stylesheets/dark_roach.css stylesheets/style.css
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.php b/post.php
index f6c15c0c..60a078ea 100644
--- a/post.php
+++ b/post.php
@@ -293,7 +293,7 @@ if (isset($_POST['delete'])) {
curl_setopt($curl, CURLOPT_FAILONERROR, true);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($curl, CURLOPT_TIMEOUT, 15);
+ curl_setopt($curl, CURLOPT_TIMEOUT, $config['upload_by_url_timeout']);
curl_setopt($curl, CURLOPT_USERAGENT, 'Tinyboard');
curl_setopt($curl, CURLOPT_BINARYTRANSFER, true);
curl_setopt($curl, CURLOPT_FILE, $fp);