From 5c32a54edb2b682d81a28ffb8ded8b3a61d7d685 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 17 Jul 2018 17:20:39 +0200 Subject: [PATCH] [fix] French vs. English in template name :/ + fixing case issue making zone empty --- bureau/class/m_bind.php | 2 +- etc/alternc/templates/bind/templates/named.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/class/m_bind.php b/bureau/class/m_bind.php index 5b328703..12369ef9 100644 --- a/bureau/class/m_bind.php +++ b/bureau/class/m_bind.php @@ -227,7 +227,7 @@ class m_bind { ORDER BY ENTRY ;"); $t=""; while ($db->next_record()) { - $t.= $db->f('entry')."\n"; + $t.= $db->f('ENTRY')."\n"; } return $t; } diff --git a/etc/alternc/templates/bind/templates/named.template b/etc/alternc/templates/bind/templates/named.template index 9c7f7cff..13ed7fb7 100644 --- a/etc/alternc/templates/bind/templates/named.template +++ b/etc/alternc/templates/bind/templates/named.template @@ -1 +1 @@ -zone "@@DOMAINE@@" { type master; file "@@ZONE_FILE@@"; allow-query { any; }; }; +zone "@@DOMAIN@@" { type master; file "@@ZONE_FILE@@"; allow-query { any; }; };