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
f3e2f0fb
Commit
f3e2f0fb
authored
Mar 07, 2008
by
tbrehm
Browse files
No commit message
No commit message
parent
710f3577
Changes
1
Show whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
f3e2f0fb
...
...
@@ -640,7 +640,7 @@ class installer_base {
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Make the global language file directory group writable
exec
(
"chmod -R
66
0
$install_dir
/interface/lib/lang"
);
exec
(
"chmod -R
77
0
$install_dir
/interface/lib/lang"
);
//* Make all interface language file directories group writable
$handle
=
@
opendir
(
$install_dir
.
'/interface/web'
);
...
...
@@ -648,10 +648,10 @@ class installer_base {
if
(
$file
!=
'.'
&&
$file
!=
'..'
)
{
if
(
@
is_dir
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang'
))
{
$handle2
=
opendir
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang'
);
chmod
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang'
,
0
66
0
);
chmod
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang'
,
0
77
0
);
while
(
$lang_file
=
@
readdir
(
$handle2
))
{
if
(
$lang_file
!=
'.'
&&
$lang_file
!=
'..'
)
{
chmod
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang/'
.
$lang_file
,
0
66
0
);
chmod
(
$install_dir
.
'/interface/web'
.
'/'
.
$file
.
'/lib/lang/'
.
$lang_file
,
0
77
0
);
}
}
}
...
...
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