@@ -10,8 +10,8 @@ discard block |
||
10 | 10 | 'enableAutoLogin' => false, |
11 | 11 | 'autoRenewCookie' => false, |
12 | 12 | 'enableSession' => false, |
13 | - 'identityCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_identity']), |
|
14 | - 'usernameCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_username']), |
|
13 | + 'identityCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_identity' ]), |
|
14 | + 'usernameCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_username' ]), |
|
15 | 15 | 'loginUrl' => null, |
16 | 16 | 'idParam' => $stateKeyPrefix.'__id', |
17 | 17 | 'authTimeoutParam' => $stateKeyPrefix.'__expire', |
@@ -49,16 +49,16 @@ discard block |
||
49 | 49 | 'dirMode' => $generalConfig->defaultDirMode, |
50 | 50 | 'includeUserIp' => $generalConfig->storeUserIps, |
51 | 51 | 'except' => [ |
52 | - yii\i18n\PhpMessageSource::class . ':*', |
|
52 | + yii\i18n\PhpMessageSource::class.':*', |
|
53 | 53 | ], |
54 | 54 | ]; |
55 | 55 | |
56 | - $target['logFile'] = '@storage/logs/rest.log'; |
|
56 | + $target[ 'logFile' ] = '@storage/logs/rest.log'; |
|
57 | 57 | |
58 | 58 | // Only log errors and warnings, unless Craft is running in Dev Mode or it's being installed/updated |
59 | - $target['levels'] = yii\log\Logger::LEVEL_ERROR | yii\log\Logger::LEVEL_WARNING; |
|
59 | + $target[ 'levels' ] = yii\log\Logger::LEVEL_ERROR | yii\log\Logger::LEVEL_WARNING; |
|
60 | 60 | if (YII_DEBUG) { |
61 | - $target['levels'] = $target['levels'] | yii\log\Logger::LEVEL_INFO; |
|
61 | + $target[ 'levels' ] = $target[ 'levels' ] | yii\log\Logger::LEVEL_INFO; |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | return Craft::createObject([ |
@@ -79,5 +79,5 @@ discard block |
||
79 | 79 | 'modules' => [ |
80 | 80 | 'debug' => null |
81 | 81 | ], |
82 | - 'bootstrap' => [] |
|
82 | + 'bootstrap' => [ ] |
|
83 | 83 | ]; |
84 | 84 | \ No newline at end of file |