Hi,
thanks for the hint!
> if (file_exists(ROOT . 'myconfig.php')) {
> include_once ROOT . 'myconfig.php';
The only problem I have right now is, that I want to all the database
settings in my own config file. And the database.php in /app/config
uses the vars in my config file.
I would like to have it like that:
/myconfig.php:
$host='localhost';
$login='user';
$password='password';
$database='database';
/app/config/database.php:
var $default = array('driver' => 'mysql',
'connect' => 'mysql_connect',
'host' => $host,
'login' => $login,
'password' => $password,
'database' => $database,
'prefix' => '');
But this doesn't work. All I get is a blank page.
Thanks, Felix
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---