mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
14 lines
308 B
PHP
Executable File
14 lines
308 B
PHP
Executable File
<?php
|
|
// Test the cache server connection.
|
|
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
|
|
|
use nntmux\libraries\Cache;
|
|
|
|
try {
|
|
$cache = new Cache();
|
|
} catch (\Exception $error) {
|
|
exit($error->getMessage() . PHP_EOL);
|
|
}
|
|
|
|
print_r($cache->serverStatistics());
|