summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-18 15:12:17 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-18 15:12:17 -0500
commit8186807217a03326555e07cfa33ef107278538ba (patch)
tree524b0e28ad019f3b31288a69f3f61cf6700979bc /etc/inc/system.inc
parent42ee8bde8b3eaf041a8c3303c4bc71f612e25a53 (diff)
downloadpfsense-8186807217a03326555e07cfa33ef107278538ba.zip
pfsense-8186807217a03326555e07cfa33ef107278538ba.tar.gz
use is_dir(). Sometimes php lack of uniform function names can be annoying.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
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 ?
OpenPOWER on IntegriCloud