Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
489
Issues
489
List
Boards
Labels
Service Desk
Milestones
Merge Requests
25
Merge Requests
25
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISPConfig
ISPConfig 3
Commits
3b764bb8
Commit
3b764bb8
authored
Oct 25, 2016
by
Marius Burkard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed typo in renaming old cert files
parent
22509bbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+1
-1
server/plugins-available/nginx_plugin.inc.php
server/plugins-available/nginx_plugin.inc.php
+1
-1
No files found.
server/plugins-available/apache2_plugin.inc.php
View file @
3b764bb8
...
...
@@ -1259,7 +1259,7 @@ class apache2_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
);
}
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
3b764bb8
...
...
@@ -1336,7 +1336,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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment