1
0

Added DB Access + Error page

This commit is contained in:
2014-05-12 10:11:20 +02:00
parent 3efba81ebc
commit ffdc17efd5
124 changed files with 6346 additions and 82 deletions

View File

@@ -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,
)
);

View File

@@ -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,
)
);

View File

@@ -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',
)
);

View File

@@ -1,7 +0,0 @@
<?php
/**
* stage.php
*/
return array(
);