diff options
author | andi <andi@splitbrain.org> | 2005-01-29 12:36:21 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-01-29 12:36:21 +0100 |
commit | b3222a5c05db1803dc03e8818ee8e6756f123ed0 (patch) | |
tree | 19ccb71656473a7308d2e9603c96ee877fbc998e /inc/common.php | |
parent | e647351c391704af7245316856e36e4986a9e4e4 (diff) | |
download | rpg-b3222a5c05db1803dc03e8818ee8e6756f123ed0.tar.gz rpg-b3222a5c05db1803dc03e8818ee8e6756f123ed0.tar.bz2 |
workaround for php umask bug (fixes #97)
darcs-hash:20050129113621-9977f-a3439b9f7a590d3c64522046e79001f0ba9b199b.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 9b1c2900f..dff4bba18 100644 --- a/inc/common.php +++ b/inc/common.php @@ -38,6 +38,9 @@ $conf['usegzip'] = 0; } + //remember original umask + $conf['oldumask'] = umask(); + /** * remove magic quotes recursivly * |