diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index 4913c7cc3..fad7b83a1 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -535,7 +535,7 @@ class App { if (!isset(self::$_classMap[$className])) { return false; } - if (strpos($className, '..')) { + if (strpos($className, '..') !== false) { return false; }