summaryrefslogtreecommitdiff
path: root/framework/TApplication.php
diff options
context:
space:
mode:
authorxue <>2006-11-25 20:51:43 +0000
committerxue <>2006-11-25 20:51:43 +0000
commitcb0aeb81d77d7170196f1b667978f56c6018100b (patch)
tree53deb6628356454d7e4348641135c84c1a909292 /framework/TApplication.php
parentaf340f68ef716b9a3c021a8cabc40068068bf3bf (diff)
merge from 3.0 branch till 1508.
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 9e1026bf..974f0ec4 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -1318,10 +1318,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);
}
}