diff --git a/config/web.php b/config/web.php index 1632a5a..4fde1b6 100644 --- a/config/web.php +++ b/config/web.php @@ -9,7 +9,7 @@ $config = [ 'components' => [ 'request' => [ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation - 'cookieValidationKey' => '', + 'cookieValidationKey' => 'thisIsAKey', ], 'cache' => [ 'class' => 'yii\caching\FileCache', @@ -38,6 +38,10 @@ $config = [ ], ], 'db' => require(__DIR__ . '/db.php'), + 'urlManager' => [ + 'enablePrettyUrl' => true, + 'showScriptName' => false, + ], ], 'params' => $params, ]; diff --git a/tests/codeception/bin/yii_acceptance.bat b/tests/codeception/bin/yii_acceptance.bat index 389f893..3edcabe 100644 --- a/tests/codeception/bin/yii_acceptance.bat +++ b/tests/codeception/bin/yii_acceptance.bat @@ -5,7 +5,7 @@ rem Yii command line bootstrap script for Windows. rem rem @author Qiang Xue rem @link http://www.yiiframework.com/ -rem @copyright Copyright © 2012 Yii Software LLC +rem @copyright Copyright (c) 2008 Yii Software LLC rem @license http://www.yiiframework.com/license/ rem ------------------------------------------------------------- diff --git a/tests/codeception/bin/yii_functional.bat b/tests/codeception/bin/yii_functional.bat index 98fae88..2d04dcc 100644 --- a/tests/codeception/bin/yii_functional.bat +++ b/tests/codeception/bin/yii_functional.bat @@ -5,7 +5,7 @@ rem Yii command line bootstrap script for Windows. rem rem @author Qiang Xue rem @link http://www.yiiframework.com/ -rem @copyright Copyright © 2012 Yii Software LLC +rem @copyright Copyright (c) 2008 Yii Software LLC rem @license http://www.yiiframework.com/license/ rem ------------------------------------------------------------- diff --git a/tests/codeception/bin/yii_unit.bat b/tests/codeception/bin/yii_unit.bat index 511e61d..6852bf0 100644 --- a/tests/codeception/bin/yii_unit.bat +++ b/tests/codeception/bin/yii_unit.bat @@ -5,7 +5,7 @@ rem Yii command line bootstrap script for Windows. rem rem @author Qiang Xue rem @link http://www.yiiframework.com/ -rem @copyright Copyright © 2012 Yii Software LLC +rem @copyright Copyright (c) 2008 Yii Software LLC rem @license http://www.yiiframework.com/license/ rem ------------------------------------------------------------- diff --git a/yii.bat b/yii.bat index 5e21e2e..d516b3a 100644 --- a/yii.bat +++ b/yii.bat @@ -5,7 +5,7 @@ rem Yii command line bootstrap script for Windows. rem rem @author Qiang Xue rem @link http://www.yiiframework.com/ -rem @copyright Copyright © 2012 Yii Software LLC +rem @copyright Copyright (c) 2008 Yii Software LLC rem @license http://www.yiiframework.com/license/ rem -------------------------------------------------------------