aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSatoshi <satoshi@gshost.eu>2016-02-03 11:15:38 +0100
committerSatoshi <satoshi@gshost.eu>2016-02-03 11:15:38 +0100
commit4c963f1485f75d45b6d4e91df6290ed74078434b (patch)
treef94356f8e4d31c93a2b4e10c674d13f4776cd211
parent73b52f7d2bbe5ef267384afe79115d19ec98ca7e (diff)
Update nginx_plugin.inc.php
wrong name
-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);
}