From: <bh...@us...> - 2008-10-25 18:51:39
|
Revision: 18322 http://gallery.svn.sourceforge.net/gallery/?rev=18322&view=rev Author: bharat Date: 2008-10-25 18:51:36 +0000 (Sat, 25 Oct 2008) Log Message: ----------- Only have 1 active theme to avoid confusion Modified Paths: -------------- trunk/eval/gx/kohana/core/libraries/Loadconfig.php Modified: trunk/eval/gx/kohana/core/libraries/Loadconfig.php =================================================================== --- trunk/eval/gx/kohana/core/libraries/Loadconfig.php 2008-10-25 18:47:02 UTC (rev 18321) +++ trunk/eval/gx/kohana/core/libraries/Loadconfig.php 2008-10-25 18:51:36 UTC (rev 18322) @@ -44,11 +44,14 @@ if ($dh = opendir($path)) { while (($file = readdir($dh)) !== false) { if ($file[0] != '.') { - $modules[] = $path . $file; + if ($file != 'jakob') { // only have 1 theme active to avoid confusion + $modules[] = $path . $file; + } } } closedir($dh); } + return $modules; } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |