diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-18 15:12:17 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-18 15:12:17 -0500 |
commit | 8186807217a03326555e07cfa33ef107278538ba (patch) | |
tree | 524b0e28ad019f3b31288a69f3f61cf6700979bc /etc/inc/system.inc | |
parent | 42ee8bde8b3eaf041a8c3303c4bc71f612e25a53 (diff) | |
download | pfsense-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.inc | 2 |
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 ? |