summaryrefslogtreecommitdiff
path: root/framework/TApplication.php
diff options
context:
space:
mode:
authorxue <>2006-11-18 13:21:32 +0000
committerxue <>2006-11-18 13:21:32 +0000
commite2b765792fd664cc45c2cc9f686f2b4988b80148 (patch)
tree151144cc65286a01cbcf521641c74f12fe6bdbdc /framework/TApplication.php
parentc42521aa777c2fe70624bbfa258fabefc3c98452 (diff)
fixed #454. reverted back constructUrl so that ampersand is not encoded by default.
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r--framework/TApplication.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index bf286e2c..4091ceb8 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -1317,10 +1317,7 @@ class TApplicationStatePersister extends TModule implements IStatePersister
if($saveFile)
{
$fileName=$this->getStateFilePath();
- if(version_compare(phpversion(),'5.1.0','>='))
- file_put_contents($fileName,$content,LOCK_EX);
- else
- file_put_contents($fileName,$content);
+ file_put_contents($fileName,$content,LOCK_EX);
}
}