Browse files

Removed undefined variable in App::core, made test pass on Windows.

  • Loading branch information...
1 parent 3f4f9d0 commit dd2af364ae272d54f0425a25eeb8df0448dfd708 @evilbloodydemon committed Apr 17, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Cake/Core/App.php
View
4 lib/Cake/Core/App.php
@@ -389,9 +389,7 @@ public static function themePath($theme) {
* @return string full path to package
*/
public static function core($type) {
- if ($type) {
- return isset($paths[$type]) ? $paths[$type] : array(LIBS . $type . DS);
- }
+ return array(LIBS . str_replace('/', DS, $type) . DS);
}
/**

0 comments on commit dd2af36

Please sign in to comment.