// Improve performance and bug fixes

This commit is contained in:
rGaillard
2012-06-06 16:22:48 +00:00
parent e636665621
commit 99b22fbbb8
32 changed files with 97 additions and 66 deletions
+8
View File
@@ -2125,6 +2125,14 @@ FileETag INode MTime Size
{
return Tools::apacheModExists('mod_rewrite');
}
public static function unSerialize($serialized, $object = false)
{
if (is_string($serialized) && ((strpos($serialized, 'O:') !== false && !preg_match('/(^|;|{|})O:[0-9]+:"/', $serialized) && !$object) || $object))
return @unserialize($serialized);
return false;
}
}
/**