mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 02:22:39 +00:00
updating error test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7175 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2233c9f4b4
commit
75e157a167
2 changed files with 13 additions and 5 deletions
|
@ -27,12 +27,20 @@
|
|||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||
*/
|
||||
App::import('Controller', 'App');
|
||||
/**
|
||||
* Short description for file.
|
||||
*
|
||||
* Long description for file
|
||||
*
|
||||
* @package cake
|
||||
* @subpackage cake.cake.libs
|
||||
*/
|
||||
class CakeErrorController extends AppController {
|
||||
|
||||
|
||||
var $name = 'CakeError';
|
||||
|
||||
|
||||
var $uses = array();
|
||||
|
||||
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
$this->_set(Router::getPaths());
|
||||
|
@ -40,7 +48,7 @@ class CakeErrorController extends AppController {
|
|||
$this->constructClasses();
|
||||
$this->_set(array('cacheAction' => false, 'viewPath' => 'errors'));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
/**
|
||||
* Short description for file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue