mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
Move all the config files to newznab/config folder.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<?php
|
||||
require_once dirname(__FILE__) . '/../../../www/config.php';
|
||||
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
|
||||
|
||||
use newznab\db\Settings;
|
||||
use newznab\controllers\ConsoleTools;
|
||||
|
||||
$pdo = new Settings();
|
||||
$consoletools = new \ConsoleTools(['ColorCLI' => $pdo->log]);
|
||||
$consoletools = new ConsoleTools(['ColorCLI' => $pdo->log]);
|
||||
$ran = false;
|
||||
|
||||
if (isset($argv[1]) && $argv[1] === "all") {
|
||||
|
||||
Reference in New Issue
Block a user