Commit 3a93f278 authored by Falko Timme's avatar Falko Timme
Browse files

- Small bugfix (if($server_type = 'nginx'){ must be if($server_type == 'nginx'){).

parent ef55b578
......@@ -367,7 +367,7 @@ class page_action extends tform_actions {
$app->tpl->setVar("apache_directive_snippets_txt",$apache_directive_snippets_txt);
}
if($server_type = 'nginx'){
if($server_type == 'nginx'){
$nginx_directive_snippets = $app->db->queryAllRecords("SELECT * FROM directive_snippets WHERE type = 'nginx' AND active = 'y'");
$nginx_directive_snippets_txt = '';
if(is_array($nginx_directive_snippets) && !empty($nginx_directive_snippets)){
......
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