aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-29 16:05:08 -0700
committerfriendica <info@friendica.com>2015-03-29 16:05:08 -0700
commit505e5e90b26fa398e08b6fcad266b7f0ac759bd2 (patch)
tree199ce1352c34d1d915e2a00b9eb8879fa2e0e7a0 /boot.php
parent76a6739b93c1c8f08dd95a45235dd89fb4c507af (diff)
downloadvolse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.tar.gz
volse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.tar.bz2
volse-hubzilla-505e5e90b26fa398e08b6fcad266b7f0ac759bd2.zip
fix os_mkdir
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index aac8eff12..25738192d 100755
--- a/boot.php
+++ b/boot.php
@@ -1239,8 +1239,9 @@ function absurl($path) {
function os_mkdir($path, $mode = 0777, $recursive = false) {
$oldumask = @umask(0);
- @mkdir($path, $mode, $recursive);
- @umask($oldumask);
+ $result = @mkdir($path, $mode, $recursive);
+ @umask($oldumask);
+ return $result;
}
/**