In the file "admin/stat.main.php" from version 1.5.3, I replaced the following line ( line #88 ):
Code: Select all
        while ($dat = readdir($dir)) {
Code: Select all
$files = array();
        $dir = opendir(PMF_ROOT_DIR."/data");
        chdir(PMF_ROOT_DIR."/data");
        while (false !== ($file = @readdir($dir))) {
                if (substr($file,0,1)!=".")
                        array_push($files,$file);
                }
                closedir($dir);
                chdir("../");
                if ($files)
                        natcasesort($files);
                foreach ($files as $dat) {