From 9a36e12968c83d75b583d1adbd548018fba677a6 Mon Sep 17 00:00:00 2001 From: Falko Timme <ft@falkotimme.com> Date: Thu, 08 May 2014 06:38:22 -0400 Subject: [PATCH] - Fixed: nginx placeholders could not be added to directive snippets textarea by clicking on the link. --- interface/lib/classes/functions.inc.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/functions.inc.php b/interface/lib/classes/functions.inc.php index d2ac583..5f62f52 100644 --- a/interface/lib/classes/functions.inc.php +++ b/interface/lib/classes/functions.inc.php @@ -275,7 +275,8 @@ if(preg_match($regex, $result['ip'])) $ips[] = $result['ip']; } } - + + /* $results = $app->db->queryAllRecords("SELECT xfer FROM dns_slave WHERE xfer != ''"); if(!empty($results) && is_array($results)){ foreach($results as $result){ @@ -306,6 +307,8 @@ } } } + */ + $results = $app->db->queryAllRecords("SELECT remote_ips FROM web_database WHERE remote_ips != ''"); if(!empty($results) && is_array($results)){ foreach($results as $result){ -- Gitblit v1.9.1