From 3a60c08ff745dde15bcf13e4055d589acd2e367d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 12 Feb 2007 18:23:35 +0000 Subject: s/sidir/is_dir/ --- packages/tinydns/tinydns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 0cfad1df..f899cebd 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -255,7 +255,7 @@ function tinydns_create_zone_file() { config_lock(); if(file_exists("/service/tinydns/root/data")) exec("rm -f /service/tinydns/root/data"); - if(!isdir("/service/tinydns/root")) + if(!is_dir("/service/tinydns/root")) return; $fd = fopen("/service/tinydns/root/data", "w"); if(!$fd) { -- cgit v1.2.3