Commit 8fb5dde2 authored by tbrehm's avatar tbrehm

Fixed installer error:

sh: /etc/init.d/apache2: No such file or directory
parent 5518df67
......@@ -397,7 +397,7 @@ if($install_mode == 'standard') {
//* Configure ISPConfig
swriteln('Installing Crontab');
$inst->install_crontab();
if($conf['apache']['init_script'] != '') system($conf['init_scripts'].'/'.$conf['apache']['init_script'].' restart');
if($conf['apache']['init_script'] != '' && @is_file($conf['init_scripts'].'/'.$conf['apache']['init_script'])) system($conf['init_scripts'].'/'.$conf['apache']['init_script'].' restart');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment