diff options
| author | moehm | 2014-09-14 21:42:16 +0200 |
|---|---|---|
| committer | moehm | 2014-09-14 21:42:16 +0200 |
| commit | 8fcfc80ca2bb393a1a4b7d4cd16e1186b7ae3597 (patch) | |
| tree | 98f363333bb8b416eebb5460d4cf087bfaff2a5e /dl.php | |
| parent | f4c4a9791a90c51b1699d5d178199318a2ca2a85 (diff) | |
| download | video-dl-8fcfc80ca2bb393a1a4b7d4cd16e1186b7ae3597.tar.gz | |
corrected ajax filesize check
Diffstat (limited to 'dl.php')
| -rw-r--r-- | dl.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
