Fixing issue in console when baking a new project, from outside the

installation directory you would get an error because database.php could
not be found.  Fixes #1406
This commit is contained in:
mark_story 2010-12-27 00:19:59 -05:00
parent 3d966be1e8
commit b82ad15c5e

View file

@ -19,7 +19,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
require LIBS . 'model' . DS . 'datasources' . DS . 'datasource.php';
include_once CONFIGS . 'database.php';
config('database');
/**
* Manages loaded instances of DataSource objects