示例#1
0
<!-- }}} -->

<h2>Cached scripts</h2>
<?php 
create_script_table(eaccelerator_cached_scripts());
?>

<h2>Removed scripts</h2>
<?php 
create_script_table(eaccelerator_removed_scripts());
?>

<?php 
if (function_exists('eaccelerator_get')) {
    echo "<h2>Cached keys</h2>";
    create_key_table(eaccelerator_list_keys());
}
?>

<!-- {{{ footer -->
<br /><br />
<table>
    <tr><td class="center">
    <a href="http://eaccelerator.net"><img src="?=<?php 
echo $info['logo'];
?>
" alt="eA logo" /></a>
    <strong>Created by the eAccelerator team, <a href="http://eaccelerator.net">http://eaccelerator.net</a></strong><br /><br />
    <nobr>eAccelerator <?php 
echo $info['version'];
?>
示例#2
0
        print "<tr " . $bc[$var] . ">";
        print "<td>Purge cache</td>";
        print '<td align="right"><input type="submit" class="butAction" name="purge" value="purge" title="remove all \'removed\' scripts from shared memory" /></td>';
        print "</tr></table></form>";
    }
    if (is_array($resCached)) {
        print "<br><br>";
        print "<b>Cached scripts</b><br>";
        create_script_table($resCached);
    }
    if (is_array($resRemoved)) {
        print "<br><br>";
        print "<b>Removed scripts</b><br>";
        create_script_table($resRemoved);
    }
} else {
    print "<br><br>";
    print "Check in your <b>php.ini</b> that <b>eaccelerator.allowed_admin_path</b> parameter is : ";
    print "<br><br>";
    print "<b>" . $_SERVER["SCRIPT_FILENAME"] . "</b>";
    print "<br><br>";
}
if (function_exists('eaccelerator_get')) {
    print '<br><br>';
    print '<b>Cached keys</b><br>';
    $res = eaccelerator_list_keys();
    create_key_table($res);
}
print "<br><br>";
llxFooter();
$db->close();