Files
newznab-tmux/misc/testing/Tests/test_cache_server.php
T
DariusIII 24fa162413 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-08-31 09:31:28 +00:00

15 lines
286 B
PHP
Executable File

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