cakephp2-php8/lib/Cake/Error
Pierre Martin c6d8b477fc Prevent autoload when checking for the existence of HttpException
The class_exists check has been added in 4f29f58a5e (L1R28) to prevent a side effect with a PECL extension.

However if an autoloader such as the Composer one is loaded, it will try to require this `exceptions.php` file again:
```
    'HttpException' => $vendorDir . '/pear-pear.cakephp.org/CakePHP/Cake/Error/exceptions.php',
```
this will result in a "Fatal error:  Cannot redeclare class CakeBaseException"
2013-05-08 13:25:42 +03:00
..
ErrorHandler.php Fallback to the default renderer if the config key is missing. 2013-03-30 13:40:58 -04:00
ExceptionRenderer.php == to === and != to !== where applicable 2013-02-12 03:38:08 +01:00
exceptions.php Prevent autoload when checking for the existence of HttpException 2013-05-08 13:25:42 +03:00