aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/plugins-available/nginx_plugin.inc.php
diff options
context:
space:
mode:
authorAlexandre Alouit <alexandre.alouit@gmail.com>2016-02-03 22:04:32 +0100
committerAlexandre Alouit <alexandre.alouit@gmail.com>2016-02-03 22:04:32 +0100
commita9097316199eaf8d50fcee739a3bc8322026cedc (patch)
treef94356f8e4d31c93a2b4e10c674d13f4776cd211 /src/server/plugins-available/nginx_plugin.inc.php
parent73b52f7d2bbe5ef267384afe79115d19ec98ca7e (diff)
parent4c963f1485f75d45b6d4e91df6290ed74078434b (diff)
Merge pull request #33 from Rikarin/ISPConfig-3.0.5.4p8
fix typo
Diffstat (limited to '')
-rwxr-xr-xsrc/server/plugins-available/nginx_plugin.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/plugins-available/nginx_plugin.inc.php b/src/server/plugins-available/nginx_plugin.inc.php
index 69416b9..5c77632 100755
--- a/src/server/plugins-available/nginx_plugin.inc.php
+++ b/src/server/plugins-available/nginx_plugin.inc.php
@@ -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);
}