tbrehm
2012-10-25 edaa7c5d66ef52eec1c15f79ae4034fc3e67b9b7
interface/web/admin/form/users.tform.php
@@ -100,7 +100,9 @@
while ($file = @readdir ($handle)) { 
    if (substr($file, 0, 1) != '.') {
        if(@is_dir(ISPC_THEMES_PATH."/$file")) {
         $themes_list[$file] = $file;
         if(!file_exists(ISPC_THEMES_PATH."/$file/ispconfig_version") || (@file_exists(ISPC_THEMES_PATH."/$file/ispconfig_version") && trim(@file_get_contents(ISPC_THEMES_PATH."/$file/ispconfig_version")) == ISPC_APP_VERSION)) {
                $themes_list[$file] = $file;
            }
        }
   }
}