Commit 2a08297a by davert

formatting fix

parent 58083f6e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment