summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/TAssetManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php
index fa43b7d7..41c3216a 100644
--- a/framework/Web/TAssetManager.php
+++ b/framework/Web/TAssetManager.php
@@ -233,7 +233,7 @@ class TAssetManager extends TModule
if(!is_dir($dst))
{
@mkdir($dst);
- @chmod($dst, 0777);
+ @chmod($dst, PRADO_CHMOD);
}
$dstFile=$dst.'/'.basename($src);
if(@filemtime($dstFile)<@filemtime($src))
@@ -256,7 +256,7 @@ class TAssetManager extends TModule
if(!is_dir($dst))
{
@mkdir($dst);
- @chmod($dst, 0777);
+ @chmod($dst, PRADO_CHMOD);
}
$folder=@opendir($src);
while($file=@readdir($folder))