Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
99ca2fc6
Commit
99ca2fc6
authored
May 01, 2010
by
vogelor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the config-file for remote-actions to the installer
parent
cdaae64a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+8
-1
No files found.
install/lib/installer_base.lib.php
View file @
99ca2fc6
...
...
@@ -1217,7 +1217,10 @@ class installer_base {
$content
=
str_replace
(
'{language}'
,
$conf
[
'language'
],
$content
);
wf
(
"
$install_dir
/server/lib/
$configfile
"
,
$content
);
//* Create the config file for remote-actions
$content
=
"<?php
\n
$maxid_remote_actions
= 1
\n
?>"
;
wf
(
"
$install_dir
/server/lib/remote_actions.inc.php"
,
$content
);
//* Enable the server modules and plugins.
// TODO: Implement a selector which modules and plugins shall be enabled.
...
...
@@ -1319,6 +1322,10 @@ class installer_base {
//* make sure that the server config file (not the interface one) is only readable by the root user
exec
(
"chmod 600
$install_dir
/server/lib/
$configfile
"
);
exec
(
"chown root:root
$install_dir
/server/lib/
$configfile
"
);
exec
(
"chmod 600
$install_dir
/server/lib/remote_actions.inc.php"
);
exec
(
"chown root:root
$install_dir
/server/lib/remote_actions.inc.php"
);
if
(
@
is_file
(
"
$install_dir
/server/lib/mysql_clientdb.conf"
))
{
exec
(
"chmod 600
$install_dir
/server/lib/mysql_clientdb.conf"
);
exec
(
"chown root:root
$install_dir
/server/lib/mysql_clientdb.conf"
);
...
...
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