Code |
Context$connName = "default"
$_this = ConnectionManager
ConnectionManager::$config = DATABASE_CONFIG object
ConnectionManager::$_dataSources = array
ConnectionManager::$_connectionsEnum = array
ConnectionManager::$_log = NULL
$connections = array(
"default" => array(
"filename" => "dbo/dbo_mysql",
"classname" => "DboMysql",
"parent" => array()
)
)
$conn = array(
"filename" => "dbo/dbo_mysql",
"classname" => "DboMysql",
"parent" => array(
"filename" => "dbo_source",
"classname" => "DboSource",
"parent" => null
)
)
$error = "Unable to load DataSource file %s.php"
} else {
$error = __('Unable to load DataSource file %s.php', true);
trigger_error(sprintf($error, $conn['filename']), E_USER_ERROR);
ConnectionManager::loadDataSource() - CORE/cake/libs/model/connection_manager.php, line 179
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 105
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2638
Model::__construct() - CORE/cake/libs/model/model.php, line 406
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 452
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88