File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1217,7 +1217,10 @@ public function install_ispconfig()
12171217 $ content = str_replace ('{language} ' , $ conf ['language ' ], $ content );
12181218
12191219 wf ("$ install_dir/server/lib/ $ configfile " , $ content );
1220-
1220+
1221+ //* Create the config file for remote-actions
1222+ $ content = "<?php \n$ maxid_remote_actions = 1 \n?> " ;
1223+ wf ("$ install_dir/server/lib/remote_actions.inc.php " , $ content );
12211224
12221225 //* Enable the server modules and plugins.
12231226 // TODO: Implement a selector which modules and plugins shall be enabled.
@@ -1319,6 +1322,10 @@ public function install_ispconfig()
13191322 //* make sure that the server config file (not the interface one) is only readable by the root user
13201323 exec ("chmod 600 $ install_dir/server/lib/ $ configfile " );
13211324 exec ("chown root:root $ install_dir/server/lib/ $ configfile " );
1325+
1326+ exec ("chmod 600 $ install_dir/server/lib/remote_actions.inc.php " );
1327+ exec ("chown root:root $ install_dir/server/lib/remote_actions.inc.php " );
1328+
13221329 if (@is_file ("$ install_dir/server/lib/mysql_clientdb.conf " )) {
13231330 exec ("chmod 600 $ install_dir/server/lib/mysql_clientdb.conf " );
13241331 exec ("chown root:root $ install_dir/server/lib/mysql_clientdb.conf " );
You can’t perform that action at this time.
0 commit comments