summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/quickstart/protected/controls/Layout.tpl2
-rw-r--r--framework/TApplication.php2
-rw-r--r--framework/Web/TAssetManager.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/demos/quickstart/protected/controls/Layout.tpl b/demos/quickstart/protected/controls/Layout.tpl
index ddba0252..6c2b717f 100644
--- a/demos/quickstart/protected/controls/Layout.tpl
+++ b/demos/quickstart/protected/controls/Layout.tpl
@@ -50,7 +50,7 @@
</table>
<div id="footer">
-Copyright &copy; 2005-2006 <a href="http://www.pradosoft.com">PradoSoft</a>.
+Copyright &copy; 2005-2007 <a href="http://www.pradosoft.com">PradoSoft</a>.
<br/><br/>
<%= Prado::poweredByPrado() %>
<a href="http://validator.w3.org/check?uri=referer"><img border="0" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 8cf97de7..31efd8a0 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -314,7 +314,7 @@ class TApplication extends TComponent
{
if(@mkdir($this->_runtimePath)===false)
throw new TConfigurationException('application_runtimepath_failed',$this->_runtimePath);
- chmod($this->_runtimePath, 0777); //make it deletable
+ chmod($this->_runtimePath, PRADO_CHMOD); //make it deletable
}
}
}
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))