summaryrefslogtreecommitdiff
path: root/dl.php
diff options
context:
space:
mode:
Diffstat (limited to 'dl.php')
-rw-r--r--dl.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/dl.php b/dl.php
index ba35a1d..88d597e 100644
--- a/dl.php
+++ b/dl.php
@@ -32,6 +32,9 @@ $curl = curlInfo($info[3]);
if($_GET["task"] == "stream" || $_GET["task"] == "player")
$MAXSIZE = 200000000;
+if($_GET["ddl"])
+ $MAXSIZE = 2000000000;
+
# checks file size
if($curl[2] > $MAXSIZE){ // 50M
$f=BytesHumanSize($curl[2] - $MAXSIZE);