Move all the config files to newznab/config folder.

This commit is contained in:
DariusIII
2015-10-15 10:55:05 +02:00
parent 67fac3d0c9
commit e00244af1c
521 changed files with 1921 additions and 1128 deletions
+3 -2
View File
@@ -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") {