Added DB Access + Error page
This commit is contained in:
@@ -37,10 +37,23 @@ return array(
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
'db' => array(
|
||||
'connectionString' => 'mysql:host=localhost;dbname=db451718',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'enableProfiling' => true,
|
||||
'enableParamLogging' => true,
|
||||
'charset' => 'utf8',
|
||||
),
|
||||
),
|
||||
'params' => array(
|
||||
// php configuration
|
||||
'php.defaultCharset' => 'utf-8',
|
||||
'php.timezone' => 'UTC',
|
||||
|
||||
'yii.handleErrors' => true,
|
||||
'yii.debug' => true,
|
||||
'yii.traceLevel' => 3,
|
||||
)
|
||||
);
|
||||
33
app/config/env/dev.php
vendored
33
app/config/env/dev.php
vendored
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @author Antonio Ramirez <amigo.cobos@gmail.com>
|
||||
* @link http://www.ramirezcobos.com/
|
||||
* @link http://www.2amigos.us/
|
||||
* @copyright 2013 2amigOS! Consultation Group LLC
|
||||
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
|
||||
*/
|
||||
return array(
|
||||
'modules' => array(
|
||||
'gii' => array(
|
||||
'class' => 'system.gii.GiiModule',
|
||||
'password' => 'yii',
|
||||
'ipFilters' => array('127.0.0.1','::1'),
|
||||
),
|
||||
),
|
||||
'components' => array(
|
||||
'db' => array(
|
||||
'connectionString' => 'mysql:host=localhost;dbname=db451718',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'enableProfiling' => true,
|
||||
'enableParamLogging' => true,
|
||||
'charset' => 'utf8',
|
||||
),
|
||||
),
|
||||
'params' => array(
|
||||
'yii.handleErrors' => true,
|
||||
'yii.debug' => true,
|
||||
'yii.traceLevel' => 3,
|
||||
)
|
||||
);
|
||||
26
app/config/env/prod.php
vendored
26
app/config/env/prod.php
vendored
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @author Antonio Ramirez <amigo.cobos@gmail.com>
|
||||
* @link http://www.ramirezcobos.com/
|
||||
* @link http://www.2amigos.us/
|
||||
* @copyright 2013 2amigOS! Consultation Group LLC
|
||||
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
|
||||
*/
|
||||
return array(
|
||||
'components' => array(
|
||||
'db' => array(
|
||||
'connectionString' => 'mysql:host=rdbms.strato.de;dbname=DB451718',
|
||||
'username' => 'U451718',
|
||||
'password' => 'Datenbank',
|
||||
'enableProfiling' => YII_DEBUG,
|
||||
'enableParamLogging' => YII_DEBUG,
|
||||
'charset' => 'utf8',
|
||||
),
|
||||
),
|
||||
'params' => array(
|
||||
'yii.debug' => false,
|
||||
'yii.traceLevel' => 0,
|
||||
'yii.handleErrors' => APP_CONFIG_NAME !== 'test',
|
||||
)
|
||||
);
|
||||
7
app/config/env/stage.php
vendored
7
app/config/env/stage.php
vendored
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* stage.php
|
||||
*/
|
||||
|
||||
return array(
|
||||
);
|
||||
Reference in New Issue
Block a user