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
)
)
require (LIBS . 'model' . DS . 'datasources' . DS . $conn['filename'] . '.php');
} else {
trigger_error(sprintf(__('Unable to load DataSource file %s.php', true), $conn['filename']), E_USER_ERROR);
ConnectionManager::loadDataSource() - CORE/cake/libs/model/connection_manager.php, line 180
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 109
Model::query() - CORE/cake/libs/model/model.php, line 2107
AppController::beforeFilter() - APP/app_controller.php, line 70
SiteController::beforeFilter() - APP/controllers/site_controller.php, line 11
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 228
[main] - APP/webroot/index.php, line 84