[Picfinity-commit] SF.net SVN: picfinity: [44] trunk/index.php
Status: Beta
Brought to you by:
espadav8
From: <esp...@us...> - 2007-08-18 16:07:11
|
Revision: 44 http://picfinity.svn.sourceforge.net/picfinity/?rev=44&view=rev Author: espadav8 Date: 2007-08-18 09:07:11 -0700 (Sat, 18 Aug 2007) Log Message: ----------- Switch the test around for the .themes folder (saves calling is_dir many times) Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2007-08-16 12:58:09 UTC (rev 43) +++ trunk/index.php 2007-08-18 16:07:11 UTC (rev 44) @@ -123,8 +123,8 @@ while (list(,$folder_entry) = each($folder_contents)) { // if it's a folder and the path of it is ./.themes then create the list of themes - if ((is_dir($folder . '/' . $folder_entry)) && - (($folder . '/' . $folder_entry) == "./.themes") && + if ((($folder . '/' . $folder_entry) == "./.themes") && + (is_dir('./themes')) && $enable_themes) { if ($use_pear) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |