Merge pull request #1277 from real34/patch-1

Prevent autoload when checking for the existence of HttpException
This commit is contained in:
José Lorenzo Rodríguez 2013-05-08 04:02:15 -07:00
commit a3ad913e40

View file

@ -63,7 +63,7 @@ class CakeBaseException extends RuntimeException {
*
* @package Cake.Error
*/
if (!class_exists('HttpException')) {
if (!class_exists('HttpException', false)) {
class HttpException extends CakeBaseException {
}
}