mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Merge pull request #1277 from real34/patch-1
Prevent autoload when checking for the existence of HttpException
This commit is contained in:
commit
a3ad913e40
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class CakeBaseException extends RuntimeException {
|
|||
*
|
||||
* @package Cake.Error
|
||||
*/
|
||||
if (!class_exists('HttpException')) {
|
||||
if (!class_exists('HttpException', false)) {
|
||||
class HttpException extends CakeBaseException {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue