Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
7ea3df9a
Commit
7ea3df9a
authored
Jan 08, 2008
by
tbrehm
Browse files
Fixed a error with the symlink creation during update.
parent
95870536
Changes
1
Show whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
7ea3df9a
...
...
@@ -611,7 +611,7 @@ class installer_base {
if
(
$dh
=
opendir
(
$dir
))
{
while
((
$file
=
readdir
(
$dh
))
!==
false
)
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
symlink
(
$install_dir
.
'/server/mods-available/'
.
$file
,
$install_dir
.
'/server/mods-enabled/'
.
$file
);
if
(
!
is_link
(
$install_dir
.
'/server/mods-enabled/'
.
$file
))
symlink
(
$install_dir
.
'/server/mods-available/'
.
$file
,
$install_dir
.
'/server/mods-enabled/'
.
$file
);
}
}
closedir
(
$dh
);
...
...
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