1
0

Renamed SiteController -> MSMainController

This commit is contained in:
2014-06-04 09:33:24 +02:00
parent f9cf82ea9e
commit 5b2a5bec36
15 changed files with 270 additions and 276 deletions

1
www/protected/config/env/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.secret.php

View File

@@ -17,7 +17,7 @@ return [
'errorHandler' =>
[
'errorAction' => 'site/debugerror',
'errorAction' => 'msmain/debugerror',
],
],

View File

@@ -4,20 +4,21 @@ return [
'components' =>
[
'db' =>
[
'connectionString' => 'mysql:host=rdbms.strato.de;dbname=DB451718',
'username' => 'U451718',
'password' => '?<?<?.?>?>?>', //TODO Change me and move me to extra file
'enableProfiling' => false,
'enableParamLogging' => false,
'charset' => 'utf8',
'emulatePrepare' => true, // needed by some MySQL installations
'schemaCachingDuration' => 3600, // Performance with AR's
],
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
),
'errorHandler' =>
[
'errorAction' => 'site/error',
'errorAction' => 'msmain/error',
],
],