mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Move files around.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
require_once("config.php");
|
||||
|
||||
use newznab\db\DB;
|
||||
|
||||
$force = ((isset($argv[1]) && ($argv[1] == "true")));
|
||||
|
||||
$db = new DB;
|
||||
$ret = $db->optimise($force);
|
||||
|
||||
if (count($ret) > 0)
|
||||
{
|
||||
echo "Optmze : Optimised ".count($ret)." tables\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "Optmze : Nothing required optimisation.".(!$force ? " Try using force (optimise_db.php true)" : "")."\n";
|
||||
}
|
||||
Reference in New Issue
Block a user