Files
newznab-tmux/misc/testing/Tests/test_cache_server.php
T
2016-07-14 08:47:39 +02:00

14 lines
310 B
PHP
Executable File

<?php
// Test the cache server connection.
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
use nntmux\libraries\Cache;
try {
$cache = new Cache();
} catch (\Exception $error) {
exit($error->getMessage() . PHP_EOL);
}
print_r($cache->serverStatistics());