fix typo
This commit is contained in:
parent
a4e43936a5
commit
9b8f02006a
@ -177,7 +177,7 @@ class SiteConfig extends Model
|
||||
}, array_keys($env), $env);
|
||||
file_put_contents(Yii::getAlias('@app/.env.pending'), implode("\n", $data));
|
||||
parse_ini_file(Yii::getAlias('@app/.env.pending'));
|
||||
$result= file_put_contents(Yii::getAlias('@app/.env.pending'), implode("\n", $data)) == false;
|
||||
$result= file_put_contents(Yii::getAlias('@app/.env'), implode("\n", $data)) == false;
|
||||
unlink(Yii::getAlias('@app/.env.pending'));
|
||||
return !($result);
|
||||
} catch (Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user