diff options
| -rw-r--r-- | config.php | 5 | ||||
| -rw-r--r-- | dl.php | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -8,8 +8,9 @@ $REDIS_DBNAME=0; $REDIS_CONNECT="/var/run/redis/redis.sock"; //$MAXSIZE = 500000000000; -$MAXSIZE= 2000000000000; -$STREAM_MAXSIZE = 200000000; +$MAXSIZE = 209715200; +//$STREAM_MAXSIZE = 200000000; +$STREAM_MAXSIZE = 209715200; //$db = new SQLite3($ABSPATH . "/db/sqlite.db"); @@ -38,7 +38,7 @@ if($_GET["ddl"]) # checks file size if($curl[2] > $MAXSIZE){ // 50M $f=BytesHumanSize($curl[2] - $MAXSIZE); - failure("File too large. It's <u style='color:red;'>".$f."</u> bytes over the maximum",true); + failure("File too large. It's <u style='color:red;'>".$f."</u> bytes over the maximum.",true); } # checks http status code |
