1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 10:19:25 +02:00
Commit graph

2 commits

Author SHA1 Message Date
Lawrence Brown
447647910e loop over directories the "correct" way
see http://php.net/manual/en/function.readdir.php - specifically:

    /* This is the correct way to loop over the directory. */
    while (false !== ($entry = readdir($handle))) {
        echo "$entry\n";
    }

    /* This is the WRONG way to loop over the directory. */
    while ($entry = readdir($handle)) {
        echo "$entry\n";
    }
2015-01-03 16:29:17 +00:00
Afterster
1273197c78 Clean modules dependencies architecture 2014-09-28 18:28:28 +02:00