Merge pull request #33 from Rikarin/ISPConfig-3.0.5.4p8

fix typo
This commit is contained in:
Alexandre Alouit 2016-02-03 22:04:32 +01:00
commit a909731619

View file

@ -1192,7 +1192,7 @@ class nginx_plugin {
$date = date("YmdHis");
//* TODO: check if is a symlink, if target same keep it, either remove it
if(is_file($key_file)) {
$app->system->copy($key_file, $key_file.'.old'.$date);
$app->system->copy($key_file, $key_file.'.old.'.$date);
$app->system->chmod($key_file.'.old.'.$date, 0400);
$app->system->unlink($key_file);
}