summaryrefslogtreecommitdiff
path: root/lib/prado/framework/I18N/core
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-07 16:09:16 +0200
committeremkael <emkael@tlen.pl>2016-04-07 16:09:16 +0200
commitd42b25cbf6d3f1e51cb2a3149f1ff54cc5474bc9 (patch)
tree96b734357392d6094cfc5f8284ad8f2578b96b7f /lib/prado/framework/I18N/core
parentac6c2b9c4f787dfdfa00547f764c77d80dad14c0 (diff)
* Prado upgrade (to 3.3.r6b8e6601752b21a8a96c385a5529bbec7bb2b408)
Diffstat (limited to 'lib/prado/framework/I18N/core')
-rw-r--r--lib/prado/framework/I18N/core/TCache_Lite.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/prado/framework/I18N/core/TCache_Lite.php b/lib/prado/framework/I18N/core/TCache_Lite.php
index 69e1c30..b42bf1f 100644
--- a/lib/prado/framework/I18N/core/TCache_Lite.php
+++ b/lib/prado/framework/I18N/core/TCache_Lite.php
@@ -228,7 +228,7 @@ class TCache_Lite
* @param array $options options
* @access public
*/
- function TCache_Lite($options = array(null))
+ function __construct($options = array(null))
{
$availableOptions = array( 'automaticSerialization',
'fileNameProtection',
@@ -533,18 +533,11 @@ class TCache_Lite
// because the filesize can be cached by PHP itself...
clearstatcache();
$length = @filesize($this->_file);
- if(version_compare(PHP_VERSION, '5.3.0', 'lt'))
- {
- $mqr = get_magic_quotes_runtime();
- set_magic_quotes_runtime(0);
- }
if ($this->_readControl) {
$hashControl = @fread($fp, 32);
$length = $length - 32;
}
$data = @fread($fp, $length);
- if(isset($mqr))
- set_magic_quotes_runtime($mqr);
if ($this->_fileLocking) @flock($fp, LOCK_UN);
@fclose($fp);
if ($this->_readControl) {