mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
3d966be1e8
commit
b82ad15c5e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue