mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-01 23:29:45 +00:00
Correcting App::import usage
This commit is contained in:
parent
474ec34a5d
commit
e47316e74f
1 changed files with 1 additions and 2 deletions
|
@ -28,8 +28,7 @@
|
||||||
if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
|
if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
|
||||||
define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
|
define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
|
||||||
}
|
}
|
||||||
App::import('Core', array('Model', 'DataSource', 'DboSource', 'DboMysql'));
|
App::import('Model', array('Model', 'DataSource', 'DboSource', 'DboMysql', 'App'));
|
||||||
App::import('Model', 'App');
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue