Russia
|
By default, Discuz does not support Pause/Resume the downloading of attached files.
But that great possibility is already built-in in Discuz!
The only thing you need to do for enable resuming - it is to slightly change one setting in your config !
Just look inside the config_global.php and see this as default value:
$_config['download']['readmod'] = 2;
What this means?
I can explain.
Discuz supports FOUR methods of downloads:
1=fread,
2=readfile,
3=fpassthru,
4=fpassthru+multiple_ranges
First 3 methods do not supported a download resuming.
But the FOURTH method SUPPORTS DOWNLOAD RESUMING!
So, you just need to change the above setting to 4 !!!- $_config['download']['readmod'] = 4;
Copy the Code Enjoy!
|
Rate
-
View Rating Log
|