Example #1
0
 {
echo ("<br>output_cache_disable<br>");
@output_cache_disable();
}
if(isset($_GET['debugger_connect']) && $_GET['debugger_connect'] == 1)
{
if(function_exists('debugger_connect'))  {
debugger_connect();
exit();
} else {
echo "No connector is installed.";
}
}
*/
echo "<TR><TD>";
cacheTest($ok, $notok);
echo "</TD></TR>";
/*
echo "<TR><TD>" ;
echo "<br>Read from config:<br>";
$config = new myConfigWrapper( "app_" );
$l = $config->getList ( "featured_intro_list" );
echo "featured_intro_list count: " . count ( $l ) . " " . print_r ( $l , true ) . "<br>";
$l = $config->getList ( "featured_show_list" );
echo "featured_show_list count: " . count ( $l ) . " " . print_r ( $l , true ) . "<br>";
$l = $config->getList ( "featured_team_list" );
echo "featured_team_list count: " . count ( $l ) . " " . print_r ( $l , true ) . "<br>";
echo "</TD></TR>";

echo "<TR><TD>" ;
echo "<br/>";
Example #2
0
function cacheExp()
{
    if (!cacheTest()) {
        return 'The cache directory does not exist and an attempt to make it failed. Please make the directory and make sure it\'s writeable by PHP.';
    }
    return 'The cache directory is a go.';
}