Renamed SiteController -> MSMainController
This commit is contained in:
1
www/protected/config/env/.gitignore
vendored
Normal file
1
www/protected/config/env/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.secret.php
|
||||
2
www/protected/config/env/dev.php
vendored
2
www/protected/config/env/dev.php
vendored
@@ -17,7 +17,7 @@ return [
|
||||
|
||||
'errorHandler' =>
|
||||
[
|
||||
'errorAction' => 'site/debugerror',
|
||||
'errorAction' => 'msmain/debugerror',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
23
www/protected/config/env/prod.php
vendored
23
www/protected/config/env/prod.php
vendored
@@ -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',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
@@ -69,9 +69,9 @@ return ArrayX::merge(
|
||||
'downloads/downloads.php' => 'programs/index', // Compatibility
|
||||
'downloads/<id>' => 'programs/view', // Compatibility
|
||||
|
||||
'' => 'site/index',
|
||||
'' => 'msmain/index',
|
||||
|
||||
'<action:\w+>' => 'site/<action>',
|
||||
'<action:\w+>' => 'msmain/<action>',
|
||||
],
|
||||
],
|
||||
|
||||
@@ -87,6 +87,11 @@ return ArrayX::merge(
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'db' =>
|
||||
[
|
||||
'tablePrefix' => 'ms4_',
|
||||
],
|
||||
],
|
||||
|
||||
// application-level parameters that can be accessed
|
||||
|
||||
Reference in New Issue
Block a user