mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
8 lines
266 B
PHP
8 lines
266 B
PHP
<?php
|
|
require dirname(__FILE__) . '/../../www/config.php';
|
|
|
|
if (!isset($argv[1]) || !in_array($argv[1], ['releases_rt'])) {
|
|
exit('Argument1 is the index name, currently only releases_rt is supported.' . PHP_EOL);
|
|
}
|
|
(new \SphinxSearch())->optimizeRTIndex($argv[1]);
|