From 8186807217a03326555e07cfa33ef107278538ba Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Dec 2010 15:12:17 -0500 Subject: use is_dir(). Sometimes php lack of uniform function names can be annoying. --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/system.inc') diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 638cd6c..92d6301 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -615,7 +615,7 @@ EOD; fclose($fd); // Ensure that the log directory exists - if(!isdir("{$g['dhcpd_chroot_path']}/var/run")) + if(!is_dir("{$g['dhcpd_chroot_path']}/var/run")) exec("/bin/mkdir -p {$g['dhcpd_chroot_path']}/var/run"); // Are we logging to a least one remote server ? -- cgit v1.1