bugfix to prevent duplicate entries in lighty-config

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 09:59:32 +00:00
parent e7162b8902
commit d7ce5fcad8

View File

@@ -309,6 +309,8 @@ class lighttpd
if(!empty($error_string))
{
$path_options.= $error_string;
// reset $error_string here to prevent duplicate entries
$error_string = '';
}
$path_options.= '}' . "\n";
}