From 3a93f27804082120f2845fdaf94bb9ab7f1cbf20 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Thu, 06 Sep 2012 11:32:06 -0400
Subject: [PATCH] - Small bugfix (if($server_type = 'nginx'){ must be if($server_type == 'nginx'){).
---
interface/web/sites/web_domain_edit.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/web/sites/web_domain_edit.php b/interface/web/sites/web_domain_edit.php
index 6a4735c..bd357dc 100644
--- a/interface/web/sites/web_domain_edit.php
+++ b/interface/web/sites/web_domain_edit.php
@@ -367,7 +367,7 @@
$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)){
--
Gitblit v1.9.1