aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-12 18:23:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-12 18:23:35 +0000
commit3a60c08ff745dde15bcf13e4055d589acd2e367d (patch)
tree45bca1d1d28fa514646d1d84ac7c237d658bef29
parent7ba389e64388dec05fb67d5faa4bc8674220aaa3 (diff)
downloadpfsense-packages-3a60c08ff745dde15bcf13e4055d589acd2e367d.tar.gz
pfsense-packages-3a60c08ff745dde15bcf13e4055d589acd2e367d.tar.bz2
pfsense-packages-3a60c08ff745dde15bcf13e4055d589acd2e367d.zip
s/sidir/is_dir/
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
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) {