Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
5cfd5d34
Commit
5cfd5d34
authored
Jan 30, 2017
by
Till Brehm
Browse files
Bugfix for wrong Letsencrypt symlinks in relative symlink mode.
parent
d0e3363c
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
5cfd5d34
...
...
@@ -3421,6 +3421,7 @@ class apache2_plugin {
// Add ($cnt_to-1) number of "../" elements to left side of $cfrom
for
(
$c
=
0
;
$c
<
(
count
(
$a2
)
-
1
);
$c
++
)
{
$cfrom
=
'../'
.
$cfrom
;
}
if
(
strstr
(
$to
,
'/etc/letsencrypt/archive/'
))
$to
=
str_replace
(
'/etc/letsencrypt/archive/'
,
'/etc/letsencrypt/live/'
,
$to
);
return
symlink
(
$cfrom
,
$to
);
}
...
...
Thom
🛠
@thom
mentioned in issue
#5048 (closed)
·
Jun 16, 2020
mentioned in issue
#5048 (closed)
mentioned in issue #5048
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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