summaryrefslogtreecommitdiff
path: root/framework/Web/TAssetManager.php
diff options
context:
space:
mode:
authorxue <>2007-01-18 03:47:22 +0000
committerxue <>2007-01-18 03:47:22 +0000
commit53c401bf07d89fad12c69f482d48126661efab88 (patch)
treeb273ce962442919da951989212f2b0790b4a69a0 /framework/Web/TAssetManager.php
parentc9ff93f38aeb420d726341859f4a6e1fe2ca6f88 (diff)
minor fixes.
Diffstat (limited to 'framework/Web/TAssetManager.php')
-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))