i used this contribution on two server one with php 4 the other with php 5

under php 5 it worked ok but with server with php 4 if got a error no function scandir ()

just added this function in admin/includes/functions/genaral.php

function scandir($dirstr) {
$files = array();
$fh = opendir($dirstr);
while (false !== ($filename = readdir($fh))) {
array_push($files, $filename);
}
closedir($fh);
return $files;
}

no files in attached zip file

More...