2014-05-13 13:16:39 +02:00
|
|
|
<?php
|
|
|
|
|
2014-05-14 23:55:44 +02:00
|
|
|
return [
|
|
|
|
'components' =>
|
|
|
|
[
|
|
|
|
'db' =>
|
2014-06-04 09:33:24 +02:00
|
|
|
ArrayX::merge(
|
|
|
|
[
|
|
|
|
'connectionString' => 'mysql:host=rdbms.strato.de;dbname=DB451718',
|
|
|
|
'enableProfiling' => false,
|
|
|
|
'enableParamLogging' => false,
|
|
|
|
'charset' => 'utf8',
|
|
|
|
'emulatePrepare' => true, // needed by some MySQL installations
|
|
|
|
'schemaCachingDuration' => 3600, // Performance with AR's
|
|
|
|
],
|
|
|
|
require_once('database-access.secret.php') // DB Username & PW
|
|
|
|
),
|
2014-05-13 13:16:39 +02:00
|
|
|
|
2014-05-14 23:55:44 +02:00
|
|
|
'errorHandler' =>
|
|
|
|
[
|
2014-06-04 09:33:24 +02:00
|
|
|
'errorAction' => 'msmain/error',
|
2014-05-14 23:55:44 +02:00
|
|
|
],
|
2014-05-13 13:16:39 +02:00
|
|
|
|
2014-05-14 23:55:44 +02:00
|
|
|
],
|
2014-05-13 13:16:39 +02:00
|
|
|
|
2014-05-14 23:55:44 +02:00
|
|
|
'params' =>
|
|
|
|
[
|
|
|
|
'yii.debug' => false,
|
|
|
|
'yii.traceLevel' => 3,
|
|
|
|
'yii.handleErrors' => false,
|
|
|
|
],
|
|
|
|
];
|