";
}
echo "
".htmlentities($name)." : ".htmlentities($path)."
| ";
foreach ($extensions as $ext) {
$v = "";
$class = "";
if (is_readable("$path.$ext")) {
// if not cache file
if (strpos($ext, ".php") === false) {
$class = "ok";
$v = $ext;
}
// cache file
else {
// check if old cache format
$content = file_get_contents("$path.$ext", null, null, null, 50);
if (strpos($content, '$this->')) {
$v = "DEPREC.";
}
else {
ob_start();
$d = include "$path.$ext";
ob_end_clean();
if ($d == 1)
$v = "DEPREC.";
else {
$class = "ok";
$v = $d["_version_"];
}
}
}
}
echo "$v | ";
}
echo "
";
$i++;
}
?>