[Phpfreechat-svn] SF.net SVN: phpfreechat: [472] trunk/admin/themes.class.php
Status: Beta
Brought to you by:
kerphi
From: <ne...@us...> - 2006-04-25 12:17:07
|
Revision: 472 Author: nemako Date: 2006-04-25 05:16:50 -0700 (Tue, 25 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=472&view=rev Log Message: ----------- Add a test for themes directory listing Modified Paths: -------------- trunk/admin/themes.class.php Modified: trunk/admin/themes.class.php =================================================================== --- trunk/admin/themes.class.php 2006-04-25 10:15:32 UTC (rev 471) +++ trunk/admin/themes.class.php 2006-04-25 12:16:50 UTC (rev 472) @@ -22,7 +22,7 @@ $i=0; $dir = opendir($this->dir_themes); while ($f = readdir($dir)) { - if(is_dir($this->dir_themes.$f) && $f!="." && $f!="..") { + if(is_dir($this->dir_themes.$f) && $f!="." && $f!=".." && strpos($f,".")===false) { $themes_list[$i] = $f; $i++; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |