Skip to content

Commit

Permalink
Adding class_alias for the renamed exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Aug 30, 2014
1 parent 2c1fc6b commit 99c5227
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/bootstrap.php
Expand Up @@ -19,5 +19,15 @@
class_alias('Cake\Error\Debugger', 'Cake\Utility\Debugger');
class_alias('Cake\Core\Configure\Engine\PhpConfig', 'Cake\Configure\Engine\PhpConfig');
class_alias('Cake\Core\Configure\Engine\IniConfig', 'Cake\Configure\Engine\IniConfig');
class_alias('Cake\Error\BadRequestException', 'Cake\Network\Exception\BadRequestException');
class_alias('Cake\Error\ForbiddenException', 'Cake\Network\Exception\ForbiddenException');
class_alias('Cake\Error\HttpException', 'Cake\Network\Exception\HttpException');
class_alias('Cake\Error\InternalErrorException', 'Cake\Network\Exception\InternalErrorException');
class_alias('Cake\Error\MethodNotAllowedException', 'Cake\Network\Exception\MethodNotAllowedException');
class_alias('Cake\Error\NotFoundException', 'Cake\Network\Exception\NotFoundException');
class_alias('Cake\Error\NotImplementedException', 'Cake\Network\Exception\NotImplementedException');
class_alias('Cake\Error\SocketException', 'Cake\Network\Exception\SocketException');
class_alias('Cake\Error\UnauthorizedException', 'Cake\Network\Exception\UnauthorizedException');
class_alias('Cake\Error\Exception', 'Cake\Core\Exception\Exception');

require CAKE . 'basics.php';

0 comments on commit 99c5227

Please sign in to comment.