Vergleich inc/class_datacache.php - 1.8.34 - 1.8.35

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 134Zeile 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 190Zeile 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 220Zeile 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']);

			}
}


			}
}