Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit dd2af364ae272d54f0425a25eeb8df0448dfd708 1 parent 3f4f9d0
@evilbloodydemon authored
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.
Something went wrong with that request. Please try again.