From 505e5e90b26fa398e08b6fcad266b7f0ac759bd2 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 29 Mar 2015 16:05:08 -0700 Subject: fix os_mkdir --- boot.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'boot.php') 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; } /** -- cgit v1.2.3