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
baf2ef33
Commit
baf2ef33
authored
Jan 06, 2008
by
tbrehm
Browse files
Changed the symlink function in the the installer.
parent
5660b94f
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
baf2ef33
...
@@ -611,7 +611,7 @@ class installer_base {
...
@@ -611,7 +611,7 @@ class installer_base {
if
(
$dh
=
opendir
(
$dir
))
{
if
(
$dh
=
opendir
(
$dir
))
{
while
((
$file
=
readdir
(
$dh
))
!==
false
)
{
while
((
$file
=
readdir
(
$dh
))
!==
false
)
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
symlink
(
$install_dir
.
'/server/mods-
en
able
d
/'
.
$file
,
$install_dir
.
'/server/mods-
avail
able/'
.
$file
);
symlink
(
$install_dir
.
'/server/mods-
avail
able/'
.
$file
,
$install_dir
.
'/server/mods-
en
able
d
/'
.
$file
);
}
}
}
}
closedir
(
$dh
);
closedir
(
$dh
);
...
@@ -623,7 +623,7 @@ class installer_base {
...
@@ -623,7 +623,7 @@ class installer_base {
if
(
$dh
=
opendir
(
$dir
))
{
if
(
$dh
=
opendir
(
$dir
))
{
while
((
$file
=
readdir
(
$dh
))
!==
false
)
{
while
((
$file
=
readdir
(
$dh
))
!==
false
)
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
symlink
(
$install_dir
.
'/server/plugins-
en
able
d
/'
.
$file
,
$install_dir
.
'/server/plugins-
avail
able/'
.
$file
);
symlink
(
$install_dir
.
'/server/plugins-
avail
able/'
.
$file
,
$install_dir
.
'/server/plugins-
en
able
d
/'
.
$file
);
}
}
}
}
closedir
(
$dh
);
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