It's because the connection manager specifically looks for a $default
property in the DATABASE_CONFIG. Why rename it? (a few classes seem to
be tied specifically to $default so I'd recommend not changing it)

On 7/14/08, Mech7 <[EMAIL PROTECTED]> wrote:
>
>  When i bake (cake bake omg) an app.. it creates a db config like this:
>
>  class DATABASE_CONFIG {
>
>         var $omg = array(
>         );
>  }
>
>  And i get an error like this:
>
>  Fatal Error (256): ConnectionManager::getDataSource - Non-existent
>  data source default [CORE\cake\libs\model\connection_manager.php, line
>  113]
>
>  When i rename $omg to $default.. it does work... does anybody know
>  what is wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to