summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-18 04:05:26 +0000
committerBill Marquette <billm@pfsense.org>2005-09-18 04:05:26 +0000
commitd7895cba4bd2f6d818d1d1e31559203ef48ecc96 (patch)
treecb739bc7947d29a246dbaac8223f3b7dccba0d0b /etc/inc/system.inc
parentd0a0d29069ab6eee511672c9721650efbfc79aee (diff)
downloadpfsense-d7895cba4bd2f6d818d1d1e31559203ef48ecc96.zip
pfsense-d7895cba4bd2f6d818d1d1e31559203ef48ecc96.tar.gz
php's mkdir() sucking is the reason we have make_dirs() :)
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 9579c9e..29d4046 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -411,7 +411,7 @@ function system_generate_lighty_config($filename, $cert, $key, $pid_file,
/* create directory to hold compressed items */
if(!is_dir("/tmp/lighttpd/cache/compress/"))
- system("mkdir -p /tmp/lighttpd/cache/compress/");
+ make_dirs("/tmp/lighttpd/cache/compress/");
if($port <> "")
$lighty_port = $port;
OpenPOWER on IntegriCloud