mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 01:38:54 +00:00
6 lines
266 B
PHP
6 lines
266 B
PHP
<?php
|
|
require_once(dirname(__FILE__) . "/../bin/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]); |