diff --git a/app/config/common.php b/app/config/common.php index 6b0508f..987744b 100644 --- a/app/config/common.php +++ b/app/config/common.php @@ -28,6 +28,7 @@ return array( 'errorHandler' => array( 'errorAction' => 'site/error', ), + 'log' => array( 'class' => 'CLogRouter', 'routes' => array( @@ -46,7 +47,22 @@ return array( 'enableParamLogging' => true, 'charset' => 'utf8', ), + + 'urlManager' => array( + // uncomment the following if you have enabled Apache's Rewrite module. + 'urlFormat' => 'path', + //'caseSensitive' => true, + 'showScriptName' => false, + + 'rules' => array( + // default rules + '/' => '/view', + '//' => '/', + '/' => '/', + ), + ), ), + 'params' => array( // php configuration 'php.defaultCharset' => 'utf-8', diff --git a/app/config/console.php b/app/config/console.php deleted file mode 100644 index 489a8c7..0000000 --- a/app/config/console.php +++ /dev/null @@ -1,20 +0,0 @@ - - * @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 - */ -defined('APP_CONFIG_NAME') or define('APP_CONFIG_NAME', 'console'); -return array( - 'commandMap' => array( - 'migrate' => array( - 'class' => 'system.cli.commands.MigrateCommand', - 'migrationPath' => 'application.cli.migrations' - ) - ) -); \ No newline at end of file diff --git a/app/config/main.php b/app/config/main.php index 843f549..ecf7671 100644 --- a/app/config/main.php +++ b/app/config/main.php @@ -46,21 +46,11 @@ return ArrayX::merge(array( 'bootstrap-yii.css' => false ) ), - 'urlManager' => array( - // uncomment the following if you have enabled Apache's Rewrite module. - 'urlFormat' => 'path', - 'showScriptName' => false, - - 'rules' => array( - // default rules - '/' => '/view', - '//' => '/', - '/' => '/', - ), - ), + 'user' => array( 'allowAutoLogin' => true, ), + 'errorHandler' => array( 'errorAction' => 'site/error', ) diff --git a/app/config/test.php b/app/config/test.php deleted file mode 100644 index 2abbbe8..0000000 --- a/app/config/test.php +++ /dev/null @@ -1,16 +0,0 @@ - - * @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( - 'params' => array( - 'yii.handleErrors' => false, - ) -); \ No newline at end of file diff --git a/app/views/layouts/main.php b/app/views/layouts/main.php index 18b49df..dbd7bdc 100644 --- a/app/views/layouts/main.php +++ b/app/views/layouts/main.php @@ -26,7 +26,7 @@ - +