Updated settings for new website host
This commit is contained in:
parent
5cdc1ddf9a
commit
1b393ea70d
13
www/index_prod.php
Normal file
13
www/index_prod.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
// change the following paths if necessary
|
||||
$yii=dirname(__FILE__).'/../framework/yii.php';
|
||||
$config=dirname(__FILE__).'/protected/config/main.php';
|
||||
|
||||
// remove the following lines when in production mode
|
||||
//defined('YII_DEBUG') or define('YII_DEBUG',true);
|
||||
// dev or prod - merges settings with respective file
|
||||
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'prod');
|
||||
|
||||
require_once($yii);
|
||||
Yii::createWebApplication($config)->run();
|
2
www/protected/config/env/prod.php
vendored
2
www/protected/config/env/prod.php
vendored
@ -9,7 +9,7 @@ return [
|
||||
'db' =>
|
||||
ArrayX::merge(
|
||||
[
|
||||
'connectionString' => 'mysql:host=rdbms.strato.de;dbname=DB451718',
|
||||
'connectionString' => 'mysql:host=localhost;dbname=website_main',
|
||||
'enableProfiling' => false,
|
||||
'enableParamLogging' => false,
|
||||
'charset' => 'utf8',
|
||||
|
Loading…
Reference in New Issue
Block a user