Need to filter out the gis/ directory as well
authorJoey Schulze <joey@infodrom.org>
Wed, 13 Aug 2003 16:18:05 +0000 (16:18 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 13 Aug 2003 16:18:05 +0000 (16:18 +0000)
src/index.wml

index 54e186f..3f1cf6e 100644 (file)
@@ -39,7 +39,8 @@
     $dir = dir (".");
     $dirs = array ();
     while ($dentry = $dir->read()) {
-      if ($dentry != "." && $dentry != ".." && is_dir ($dentry)) {
+      if ($dentry != "." && $dentry != ".." && is_dir ($dentry)
+        && $dentry != "gifs") {
        $dirs[] = $dentry;
       }
     }