mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Replace usage of indexer.php with bootstrap.php
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2016-07-14 DariusIII
|
||||
* Chg: Replace usage of indexer.php with bootstrap.php
|
||||
* Chg: Add workaround for duplicate constants warning
|
||||
* Chg: Create gitignore for new configuration folder
|
||||
2016-07-13 DariusIII
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* @copyright 2015 nZEDb
|
||||
*/
|
||||
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'indexer.php';
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use nntmux\db\DbUpdate;
|
||||
use nntmux\utility\Git;
|
||||
@@ -46,4 +46,4 @@ if (in_array($branch, $git->mainBranches())) {
|
||||
}
|
||||
}
|
||||
|
||||
exit($error);
|
||||
exit($error);
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
define('GIT_PRE_COMMIT', true);
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\utility\Git;
|
||||
use app\extensions\util\Versions;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* This script is designed to gather all show data from anidb and add it to the anidb table for nntmux, as part of this process we need the number of PI queries that can be executed max and whether or not we want debuging the first argument if unset will try to do the entire list (a good way to get banned), the second option can be blank or true for debugging.
|
||||
* IF you are using this script then then you also want to edit anidb.php in www/lib and locate "604800" and replace it with 1204400, this will make sure it never tries to connect to anidb as this will fail
|
||||
*/
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\db\populate\AniDB;
|
||||
@@ -16,4 +16,4 @@ if ($argc > 1 && $argv[1] == true) {
|
||||
"To execute this script you must provide a boolean argument." . PHP_EOL .
|
||||
"Argument1: true|false to run this script or not"), true
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
/* TODO better tune the queries for performance, including pre-fetching groups_id and other data for
|
||||
faster inclusion in the main query.
|
||||
*/
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\PreDb;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -13,7 +13,7 @@ if (!isset($argv[1]) || $argv[1] !== 'yes') {
|
||||
);
|
||||
}
|
||||
|
||||
require_once realpath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
define('R', 1);
|
||||
define('W', 2);
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@
|
||||
* @author niel
|
||||
* @copyright 2014 nZEDb
|
||||
*/
|
||||
require_once realpath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\utility\Utility;
|
||||
use nntmux\utility\Versions;
|
||||
@@ -49,4 +49,4 @@ function output($vers)
|
||||
echo "SQL DB: " . $vers->out->primary($vers->getSQLPatchFromDb());
|
||||
echo "SQL File: " . $vers->out->primary($vers->getSQLPatchFromFiles());
|
||||
echo " Tag: " . $vers->out->primary($vers->getTagVersion());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\IRCScraper;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ReleaseSearch;
|
||||
use nntmux\db\DB;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\SphinxSearch;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ReleaseSearch;
|
||||
use nntmux\SphinxSearch;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ReleaseSearch;
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\NNTP;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Groups;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Groups;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This script will update all records in the movieinfo table
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\processing\tv\TraktTv;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
|
||||
passthru('clear');
|
||||
@@ -61,4 +61,4 @@ if ($count == 0) {
|
||||
echo $pdo->log->info("All table column names are already lowercase");
|
||||
} else {
|
||||
echo $pdo->log->header($count . " colums renamed");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\ConsoleTools;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* reason, it will allow the password hash on the account to be changed.
|
||||
* Hopefully that will allow admin access to fix any further problems.
|
||||
*/
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Users;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ConsoleTools;
|
||||
use nntmux\NZB;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ConsoleTools;
|
||||
use nntmux\NZB;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// --------------------------------------------------------------
|
||||
// Scan for releases missing previews on disk
|
||||
// --------------------------------------------------------------
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// --------------------------------------------------------------
|
||||
// Scan for releases missing previews on disk
|
||||
// --------------------------------------------------------------
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
//This script will update all records in the consoleinfo table
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
//This script will update all records in the gamesinfo table
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Games;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This script will update all records in the movieinfo table
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This script will update all records in the movieinfo table where there is no cover
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Movie;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This script will update all records in the xxxinfo table where there is no cover
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\XXX;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -44,4 +44,4 @@ if ($qry instanceof \Traversable) {
|
||||
}
|
||||
}
|
||||
echo $pdo->log->header($covers . " covers set.");
|
||||
echo $pdo->log->header($deleted . " books unset.");
|
||||
echo $pdo->log->header($deleted . " books unset.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -44,4 +44,4 @@ if ($qry instanceof \Traversable) {
|
||||
}
|
||||
}
|
||||
echo $pdo->log->header($covers . " covers set.");
|
||||
echo $pdo->log->header($deleted . " consoles unset.");
|
||||
echo $pdo->log->header($deleted . " consoles unset.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
@@ -51,4 +51,4 @@ if ($qry instanceof \Traversable) {
|
||||
}
|
||||
}
|
||||
echo $pdo->log->header($covers . " covers set.");
|
||||
echo $pdo->log->header($deleted . " games unset.");
|
||||
echo $pdo->log->header($deleted . " games unset.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
@@ -75,4 +75,4 @@ if ($qry1 instanceof \Traversable) {
|
||||
}
|
||||
echo $pdo->log->header($covers . " covers set.");
|
||||
echo $pdo->log->header($updated . " backdrops set.");
|
||||
echo $pdo->log->header($deleted . " movies unset.");
|
||||
echo $pdo->log->header($deleted . " movies unset.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -43,4 +43,4 @@ if ($qry instanceof \Traversable) {
|
||||
}
|
||||
}
|
||||
echo $pdo->log->header($covers . " covers set.");
|
||||
echo $pdo->log->header($deleted . " music unset.");
|
||||
echo $pdo->log->header($deleted . " music unset.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ReleaseRemover;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* there is another script called resetRelnameStatus.php
|
||||
*/
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\NameFixer;
|
||||
use nntmux\NNTP;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Categorize;
|
||||
use nntmux\Category;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* This script deletes releases that match certain criteria, type php removeCrapReleases.php false for details. */
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ReleaseRemover;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//
|
||||
// by l2g
|
||||
//
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Releases;
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
use ApaiIO\Operations\Search;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// Test the cache server connection.
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\libraries\Cache;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
// Test if your giantbomb key is working.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// To troubleshoot what's actually on usenet.
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Binaries;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//
|
||||
// by l2g
|
||||
//
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -51,4 +51,4 @@ foreach ($res as $regexrow)
|
||||
}
|
||||
}
|
||||
echo "Scanned $total record(s), $errcnt error(s) found.\n";
|
||||
exit(($errcnt>0)?1:0);
|
||||
exit(($errcnt>0)?1:0);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\RottenTomato;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\processing\tv\TMDB;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\processing\tv\TraktTv;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\processing\tv\TVDB;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\processing\tv\TVMaze;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This Script Verifies your System Time vs Myself Time vs PHP Time
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
$res="";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// TODO: bunch of if/elses need converting to switches
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Categorize;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* @author niel
|
||||
* @copyright 2014 nZEDb
|
||||
*/
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php';
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ if (!isset($argv[1]) || !in_array($argv[1], ['1'])) {
|
||||
'1: 2014-07-28: Add unique key to binaryhash to be able to do multiple updates in 1 statement.' . PHP_EOL
|
||||
);
|
||||
}
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php';
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* @author niel
|
||||
* @copyright 2014 nZEDb
|
||||
*/
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php';
|
||||
require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
<?php
//
// Script will dump out all nfos in the system into a folder based on the date posted to usenet ./YYYYMMDD/release.nfo
// Its not very efficient to pull them all out, should really work out which day you need and go from there.
//
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
use nntmux\db\Settings;
use nntmux\utility\Utility;
$db = new Settings();
$res = $db->queryDirect("select releases.searchname, releases.postdate, uncompress(release_nfos.nfo) as nfo from releases inner join release_nfos on releases.ID = release_nfos.releaseID and release_nfos.nfo is not null order by postdate");
while ($row = $db->getAssocArray($res))
{
$dir = date("Ymd", strtotime($row["postdate"]));
if (!file_exists($dir))
mkdir($dir);
$filename = $dir."/".safeFilename($row["searchname"]).".nfo";
if (!file_exists($filename))
{
$fh = fopen($filename, 'w');
fwrite($fh, Utility::cp437toUTF($row["nfo"]));
fclose($fh);
}
}
|
||||
<?php
//
// Script will dump out all nfos in the system into a folder based on the date posted to usenet ./YYYYMMDD/release.nfo
// Its not very efficient to pull them all out, should really work out which day you need and go from there.
//
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
use nntmux\db\Settings;
use nntmux\utility\Utility;
$db = new Settings();
$res = $db->queryDirect("select releases.searchname, releases.postdate, uncompress(release_nfos.nfo) as nfo from releases inner join release_nfos on releases.ID = release_nfos.releaseID and release_nfos.nfo is not null order by postdate");
while ($row = $db->getAssocArray($res))
{
$dir = date("Ymd", strtotime($row["postdate"]));
if (!file_exists($dir))
mkdir($dir);
$filename = $dir."/".safeFilename($row["searchname"]).".nfo";
if (!file_exists($filename))
{
$fh = fopen($filename, 'w');
fwrite($fh, Utility::cp437toUTF($row["nfo"]));
fclose($fh);
}
}
|
||||
@@ -6,7 +6,7 @@ If after import you have a bunch of zero sized releases run this
|
||||
Author: lordgnu <lordgnu@me.com>
|
||||
*/
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\NZB;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\NZBExport;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\NZBImport;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Movie;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\RottenTomato;
|
||||
|
||||
@@ -172,7 +172,7 @@ SHARING
|
||||
recognize or want to test out the source.
|
||||
*/
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\SpotNab;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Releases;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//This script will rerun all releases against Category.php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\Categorize;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\NNTP;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
=> Script will backfill ONLY a.b.games.xbox from May 15, 2011
|
||||
*/
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Backfill;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ConsoleTools;
|
||||
use nntmux\NameFixer;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\NameFixer;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
@@ -4,7 +4,7 @@ if (!isset($argv[1])) {
|
||||
exit("This script is not intended to be run manually." . PHP_EOL);
|
||||
}
|
||||
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use \nntmux\db\Settings;
|
||||
use \nntmux\processing\PostProcess;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\processing\PostProcess;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\MiscSorter;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\PreDb;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\processing\PostProcess;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ConsoleTools;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\ConsoleTools;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\TmuxOutput;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* It will start the tmux server and monitoring scripts if needed.
|
||||
*/
|
||||
//require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
//require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Tmux;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\processing\PostProcess;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\RequestIDLocal;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\db\Settings;
|
||||
use nntmux\NNTP;
|
||||
@@ -30,4 +30,4 @@ if (isset($argv[1]) && !is_numeric($argv[1])) {
|
||||
} else {
|
||||
$binaries->updateAllGroups((isset($argv[1]) && is_numeric($argv[1]) && $argv[1] > 0 ? $argv[1] :
|
||||
$maxHeaders));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Category;
|
||||
use nntmux\ConsoleTools;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//run this once per day
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
require_once realpath(dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');
|
||||
|
||||
use nntmux\Movie;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user