aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 7552ddb92..cd0dca2ca 100755
--- a/boot.php
+++ b/boot.php
@@ -1168,6 +1168,15 @@ function absurl($path) {
return $path;
}
+function os_mkdir($path,$mode = 0777,$recursive = false) {
+ $oldumask = @umask(0);
+ @mkdir($path, $mode, $recursive);
+ @umask($oldumask);
+}
+
+
+
+
function is_ajax() {
return (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');
}