aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
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 deed8b8d3..d82efe68a 100755
--- a/boot.php
+++ b/boot.php
@@ -1226,8 +1226,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;
}
/**