mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Added some missing App::uses() calls
This commit is contained in:
parent
32e0d86976
commit
06fb51f19d
5 changed files with 6 additions and 6 deletions
|
@ -264,9 +264,7 @@ class DbAcl extends Object implements AclInterface {
|
|||
*/
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
if (!class_exists('AclNode')) {
|
||||
require LIBS . 'model' . DS . 'db_acl.php';
|
||||
}
|
||||
App::uses('AclNode', 'Model');
|
||||
$this->Aro = ClassRegistry::init(array('class' => 'Aro', 'alias' => 'Aro'));
|
||||
$this->Aco = ClassRegistry::init(array('class' => 'Aco', 'alias' => 'Aco'));
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
App::uses('Component', 'Controller');
|
||||
App::uses('Router', 'Routing');
|
||||
App::uses('Security', 'Utility');
|
||||
App::uses('Debugger', 'Utility');
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Load Security class
|
||||
*/
|
||||
App::uses('Component', 'Controller');
|
||||
App::uses('Security', 'Utility');
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
* @since CakePHP(tm) v 1.2.0.3467
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
App::uses('Component', 'Controller');
|
||||
App::uses('Multibyte', 'I18n');
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,6 +20,7 @@ App::uses('Controller', 'Controller');
|
|||
App::uses('RequestHandlerComponent', 'Controller/Component');
|
||||
App::uses('CakeRequest', 'Network');
|
||||
App::uses('CakeResponse', 'Network');
|
||||
App::uses('Router', 'Routing');
|
||||
|
||||
/**
|
||||
* RequestHandlerTestController class
|
||||
|
|
Loading…
Add table
Reference in a new issue