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
+2 -1
View File
@@ -6,9 +6,10 @@
* 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 dirname(__FILE__) . '/../../../www/config.php';
require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'indexer.php');
use newznab\db\Settings;
use newznab\controllers\Users;
$pdo = new Settings();