Skip to content
Permalink
Browse files

Update default datasources file.

  • Loading branch information...
markstory committed Sep 2, 2012
1 parent 61fb794 commit c4c322e757663c2aac197379ffb4aa05713ea5f5
Showing with 3 additions and 3 deletions.
  1. +3 −3 App/Config/datasources.default.php
@@ -14,7 +14,7 @@
*/
namespace App\Config;
use Cake\Model\ConnectionManager;
use Cake\Core\Configure;
/**
* Database configuration class.
@@ -55,7 +55,7 @@
* Create the default connection, this is the conventional default connection used
* by all models.
*/
ConnectionManager::config('default', [
Configure::write('Datasource.default', [
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
@@ -70,7 +70,7 @@
* Create a test connection. This connection is used
* while running unit and integration tests.
*/
ConnectionManager::config('test', [
Confgure::write('Datasource.test', [
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',

0 comments on commit c4c322e

Please sign in to comment.
You can’t perform that action at this time.