2012-04-04, 10:16:44
I found an issue with the upload script.
This line basicly makes it so you cannot upload at all if either of your ini settings are less than 10m ( which is hardcoded in the script )
Pehaps the script should be setting the classes sizelimite to the minimum ini setting, same way the files uploader does ?
People cannot always override these ini settings.
Code:
if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){
This line basicly makes it so you cannot upload at all if either of your ini settings are less than 10m ( which is hardcoded in the script )
Code:
$sizeLimit = 10 * 1024 * 1024;
Pehaps the script should be setting the classes sizelimite to the minimum ini setting, same way the files uploader does ?
People cannot always override these ini settings.