Zeile 134 | Zeile 134 |
---|
$query = $db->simple_select("datacache", "title,cache"); while($data = $db->fetch_array($query)) {
|
$query = $db->simple_select("datacache", "title,cache"); while($data = $db->fetch_array($query)) {
|
// use PHP's own unserialize() for performance reasons $this->cache[$data['title']] = unserialize($data['cache'], array('allowed_classes' => false));
| // use native_unserialize() over my_unserialize() for performance reasons $this->cache[$data['title']] = native_unserialize($data['cache']);
|
} } }
| } } }
|
Zeile 190 | Zeile 190 |
---|
$query = $db->simple_select("datacache", "title,cache", "title='".$db->escape_string($name)."'"); $cache_data = $db->fetch_array($query);
|
$query = $db->simple_select("datacache", "title,cache", "title='".$db->escape_string($name)."'"); $cache_data = $db->fetch_array($query);
|
// use PHP's own unserialize() for performance reasons $data = unserialize($cache_data['cache'], array('allowed_classes' => false));
| // use native_unserialize() over my_unserialize() for performance reasons $data = native_unserialize($cache_data['cache']);
|
// Update cache for handler get_execution_time();
| // Update cache for handler get_execution_time();
|
Zeile 220 | Zeile 220 |
---|
} else {
|
} else {
|
// use PHP's own unserialize() for performance reasons $data = unserialize($cache_data['cache'], array('allowed_classes' => false));
| // use native_unserialize() over my_unserialize() for performance reasons $data = native_unserialize($cache_data['cache']);
|
} }
| } }
|