Move files to logical positions, no more copying of files.

This commit is contained in:
DariusIII
2015-05-27 00:39:04 +02:00
parent f6632f2679
commit ffa9797126
1472 changed files with 27 additions and 41 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
require_once("config.php");
use newznab\db\Settings;
$force = ((isset($argv[1]) && ($argv[1] == "true")));
$db = new Settings;
$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";
}