mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
updating require of overloadbale in model
This commit is contained in:
parent
d15a9617f1
commit
c33437af76
1 changed files with 5 additions and 3 deletions
|
@ -23,12 +23,14 @@
|
|||
/**
|
||||
* Included libs
|
||||
*/
|
||||
App::import('Core', array(
|
||||
'ClassRegistry', 'Overloadable', 'Validation', 'Set', 'String'
|
||||
));
|
||||
App::import('Core', array('ClassRegistry', 'Validation', 'Set', 'String'));
|
||||
App::import('Model', 'ModelBehavior', false);
|
||||
App::import('Model', 'ConnectionManager', false);
|
||||
|
||||
if (!class_exists('Overloadable')) {
|
||||
require LIBS . 'overloadable.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Object-relational mapper.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue