formatting fix

This commit is contained in:
davert
2013-07-31 23:01:11 +03:00
parent 2a08297ac8
commit 7f2d2da52c

View File

@@ -120,10 +120,10 @@ class SecurityBase
static $keys;
$keyFile = Yii::$app->getRuntimePath() . '/keys.php';
if ($keys === null) {
$keys = array();
$keys = array();
if (is_file($keyFile)) {
$keys = require($keyFile);
}
$keys = require($keyFile);
}
}
if (!isset($keys[$name])) {
$keys[$name] = static::generateRandomKey($length);