diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 10:43:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 10:43:11 +0000 |
commit | c9fbacb77e9ddf13b69396be2f61a8bbd546b822 (patch) | |
tree | bdd14be1a70d832ed2a07f6b70ede32fc5e0cbf6 /etc/inc/pfsense-utils.inc | |
parent | 413350ce5285149471a06eee99743b43a3ad779d (diff) | |
download | pfsense-c9fbacb77e9ddf13b69396be2f61a8bbd546b822.zip pfsense-c9fbacb77e9ddf13b69396be2f61a8bbd546b822.tar.gz |
back out last commit
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index a94ac8b..7cbee90 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -45,23 +45,6 @@ if($g['platform'] == "pfSense") { safe_mkdir("/usr/local/pkg/pf"); } -/* - * safe_mkdir($path, $mode = 0755) - * create directory if it doesn't already exist and isn't a file! - */ -function safe_mkdir($path, $mode=0755) { - global $g; - - /* cdrom is ro. */ - if($g['platform'] == "cdrom") - return false; - - if (!is_file($path) && !is_dir($path)) - return mkdir($path, $mode); - else - return false; -} - /****f* pkg-utils/is_package_installed * NAME * is_package_installed - Check whether a package is installed. |