Skip to content

Commit 3a93f27

Browse files
committed
- Small bugfix (if($server_type = 'nginx'){ must be if($server_type == 'nginx'){).
1 parent ef55b57 commit 3a93f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/web_domain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function onShowEnd() {
367367
$app->tpl->setVar("apache_directive_snippets_txt",$apache_directive_snippets_txt);
368368
}
369369

370-
if($server_type = 'nginx'){
370+
if($server_type == 'nginx'){
371371
$nginx_directive_snippets = $app->db->queryAllRecords("SELECT * FROM directive_snippets WHERE type = 'nginx' AND active = 'y'");
372372
$nginx_directive_snippets_txt = '';
373373
if(is_array($nginx_directive_snippets) && !empty($nginx_directive_snippets)){

0 commit comments

Comments
 (0)