summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Web/UI/TTemplateManager.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-03-15 17:01:02 +0100
committeremkael <emkael@tlen.pl>2017-03-15 17:01:02 +0100
commit96481892cf693fa33d5f14a3ec6beaed26bd4485 (patch)
tree97601b9bc240d7994d09719a5819bf035af396e1 /lib/prado/framework/Web/UI/TTemplateManager.php
parentc852b322361bb15771e19349c9e36a6f5a4616f2 (diff)
* bumping Prado version to 3.3.2-r5dd4b52
Diffstat (limited to 'lib/prado/framework/Web/UI/TTemplateManager.php')
-rw-r--r--lib/prado/framework/Web/UI/TTemplateManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prado/framework/Web/UI/TTemplateManager.php b/lib/prado/framework/Web/UI/TTemplateManager.php
index b6eddab..c25e668 100644
--- a/lib/prado/framework/Web/UI/TTemplateManager.php
+++ b/lib/prado/framework/Web/UI/TTemplateManager.php
@@ -662,7 +662,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
else if($str[2]==='~')
$tpl[$c++]=array($container,array(TCompositeLiteral::TYPE_EXPRESSION,"\$this->publishFilePath('$this->_contextPath/$literal')"));
else if($str[2]==='/')
- $tpl[$c++]=array($container,array(TCompositeLiteral::TYPE_EXPRESSION,"rtrim(dirname(\$this->getApplication()->getRequest()->getApplicationUrl()), '/').'/$literal'"));
+ $tpl[$c++]=array($container,array(TCompositeLiteral::TYPE_EXPRESSION,"rtrim(dirname(\$this->getApplication()->getRequest()->getApplicationUrl()), '\/').'/$literal'"));
else if($str[2]==='[')
{
$literal=strtr(trim(substr($literal,0,strlen($literal)-1)),array("'"=>"\'","\\"=>"\\\\"));
@@ -901,7 +901,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
return array(self::CONFIG_PARAMETER,trim(substr($value,3,strlen($value)-5)));
elseif($value[2]==='/') {
$literal = trim(substr($value,3,strlen($value)-5));
- return array(self::CONFIG_EXPRESSION,"rtrim(dirname(\$this->getApplication()->getRequest()->getApplicationUrl()), '/').'/$literal'");
+ return array(self::CONFIG_EXPRESSION,"rtrim(dirname(\$this->getApplication()->getRequest()->getApplicationUrl()), '\/').'/$literal'");
}
}
else