Commit a89962d6 authored by Olivier Brunau's avatar Olivier Brunau
Browse files

Update bind_plugin.inc.php to correct "PHP Parse error: syntax error,...

Update bind_plugin.inc.php to correct "PHP Parse error:  syntax error, unexpected ':' in /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php on line 279"
parent c2c4d4f9
...@@ -276,7 +276,7 @@ class bind_plugin { ...@@ -276,7 +276,7 @@ class bind_plugin {
if($return_status === 0) { if($return_status === 0) {
$app->log("Writing BIND domain file: ".$filename, LOGLEVEL_DEBUG); $app->log("Writing BIND domain file: ".$filename, LOGLEVEL_DEBUG);
} else { } else {
$loglevel = @($dns_config['disable_bind_log'] === 'y')?:'LOGLEVEL_DEBUG':'LOGLEVEL_WARN'; $loglevel = @($dns_config['disable_bind_log'] === 'y')?'LOGLEVEL_DEBUG':'LOGLEVEL_WARN';
$app->log("Writing BIND domain file failed: ".$filename." ".implode(' ', $out), $loglevel); $app->log("Writing BIND domain file failed: ".$filename." ".implode(' ', $out), $loglevel);
if(is_array($out) && !empty($out)){ if(is_array($out) && !empty($out)){
$app->log('Reason for Bind restart failure: '.implode("\n", $out), $loglevel); $app->log('Reason for Bind restart failure: '.implode("\n", $out), $loglevel);
......
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