File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 664664if ($ conf ['bind ' ]['installed ' ] == true && isset ($ conf ['bind ' ]['init_script ' ]) && $ conf ['bind ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['bind ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
665665//if($conf['squid']['installed'] == true && isset($conf['squid']['init_script']) && $conf['squid']['init_script'] != '' && is_file($conf['init_scripts'].'/'.$conf['squid']['init_script'])) system($conf['init_scripts'].'/'.$conf['squid']['init_script'].' restart &> /dev/null');
666666if ($ conf ['nginx ' ]['installed ' ] == true && isset ($ conf ['nginx ' ]['init_script ' ]) && $ conf ['nginx ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['nginx ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
667- if ($ conf ['ufw ' ]['installed ' ] == true && isset ($ conf ['ufw ' ]['init_script ' ]) && $ conf ['ufw ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['ufw ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
667+ if (isset ( $ conf [ ' ufw ' ][ ' installed ' ]) && $ conf ['ufw ' ]['installed ' ] == true && isset ($ conf ['ufw ' ]['init_script ' ]) && $ conf ['ufw ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['ufw ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
668668if ($ conf ['xmpp ' ]['installed ' ] == true && isset ($ conf ['xmpp ' ]['init_script ' ]) && $ conf ['xmpp ' ]['init_script ' ] != '' ) system ($ inst ->getinitcommand ($ conf ['xmpp ' ]['init_script ' ], 'restart ' ).' &> /dev/null ' );
669669
670670
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ public function add_database_server_record() {
436436 $ tpl_ini_array ['fastcgi ' ]['fastcgi_bin ' ] = $ conf ['fastcgi ' ]['fastcgi_bin ' ];
437437 $ tpl_ini_array ['server ' ]['hostname ' ] = $ conf ['hostname ' ];
438438 $ tpl_ini_array ['server ' ]['ip_address ' ] = @gethostbyname ($ conf ['hostname ' ]);
439- $ tpl_ini_array ['server ' ]['firewall ' ] = ($ conf ['ufw ' ]['installed ' ] == true )?'ufw ' :'bastille ' ;
439+ $ tpl_ini_array ['server ' ]['firewall ' ] = (@ $ conf ['ufw ' ]['installed ' ] == true )?'ufw ' :'bastille ' ;
440440 $ tpl_ini_array ['web ' ]['website_basedir ' ] = $ conf ['web ' ]['website_basedir ' ];
441441 $ tpl_ini_array ['web ' ]['website_path ' ] = $ conf ['web ' ]['website_path ' ];
442442 $ tpl_ini_array ['web ' ]['website_symlinks ' ] = $ conf ['web ' ]['website_symlinks ' ];
You can’t perform that action at this time.
0 commit comments