mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removed undefined variable in App::core, made test pass on Windows.
Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
parent
1962e40c9a
commit
df57b15f89
1 changed files with 1 additions and 3 deletions
|
@ -389,9 +389,7 @@ class App {
|
|||
* @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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue