From 2a5b1a262b5105aa1ca76438181b2899d1f58c51 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 8 Dec 2006 23:55:38 +0000 Subject: Include necessary files --- packages/tinydns/tinydns_down.php | 4 +++- packages/tinydns/tinydns_status.php | 3 +++ packages/tinydns/tinydns_up.php | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/tinydns/tinydns_down.php b/packages/tinydns/tinydns_down.php index 823de090..5bd87410 100644 --- a/packages/tinydns/tinydns_down.php +++ b/packages/tinydns/tinydns_down.php @@ -30,7 +30,9 @@ POSSIBILITY OF SUCH DAMAGE. */ -require("/usr/local/pkg/tinydns.inc"); +require_once("functions.inc"); +require_once("config.inc"); +require_once("/usr/local/pkg/tinydns.inc"); tinydns_create_zone_file(); tinydns_setup_ping_items(); diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php index 137ea681..a7d618e9 100644 --- a/packages/tinydns/tinydns_status.php +++ b/packages/tinydns/tinydns_status.php @@ -76,6 +76,9 @@ foreach($pingdir as $ping) { $status = file_get_contents("/var/db/pingstatus/$ping"); echo $status; echo ""; + echo ""; + $msstatus = file_get_contents("/var/db/pingmsstatus/$ping"); + echo ""; echo ""; } ?> diff --git a/packages/tinydns/tinydns_up.php b/packages/tinydns/tinydns_up.php index a42b0d6b..d84ca99b 100644 --- a/packages/tinydns/tinydns_up.php +++ b/packages/tinydns/tinydns_up.php @@ -30,7 +30,9 @@ POSSIBILITY OF SUCH DAMAGE. */ -require("/usr/local/pkg/tinydns.inc"); +require_once("functions.inc"); +require_once("config.inc"); +require_once("/usr/local/pkg/tinydns.inc"); tinydns_create_zone_file(); tinydns_setup_ping_items(); -- cgit v1.2.3