bugfix to prevent duplicate entries in lighty-config
This commit is contained in:
@@ -309,6 +309,8 @@ class lighttpd
|
|||||||
if(!empty($error_string))
|
if(!empty($error_string))
|
||||||
{
|
{
|
||||||
$path_options.= $error_string;
|
$path_options.= $error_string;
|
||||||
|
// reset $error_string here to prevent duplicate entries
|
||||||
|
$error_string = '';
|
||||||
}
|
}
|
||||||
$path_options.= '}' . "\n";
|
$path_options.= '}' . "\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user