list.php 188 Bytes
Newer Older
Dries's avatar
Dries committed
1
2
3
<?php
 $handle=opendir('themes');
 while ($file = readdir($handle)) {
natrak's avatar
natrak committed
4
   if(!ereg("^\.",$file) && file_exists("themes/$file/theme.class")) $themelist .= "$file ";
Dries's avatar
Dries committed
5
6
7
 }
 closedir($handle);
?>