mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 18:28:54 +00:00
Added fix android, fix core, fix prodji and remove blacklist releases
Some scripts addedd some removed, some re-added and tmux reorganized
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
<?php
|
||||
|
||||
if( !defined('FS_ROOT') )
|
||||
{
|
||||
throw new Exception("Error: FS_ROOT must be defined");
|
||||
die();
|
||||
}
|
||||
|
||||
// Load the config
|
||||
require_once(dirname(__FILE__)."/../../bin/config.php");
|
||||
require_once(FS_ROOT ."/../../www/config.php");
|
||||
|
||||
// Require the commandline options script
|
||||
require_once("Getopt.php");
|
||||
require_once(FS_ROOT ."/lib/Getopt.php");
|
||||
|
||||
// Require the newznab site script
|
||||
require_once(WWW_DIR."lib/site.php");
|
||||
@@ -181,7 +187,7 @@ abstract class NNScripts
|
||||
);
|
||||
|
||||
// Try to read the ini file
|
||||
$settingsFile = "settings.ini";
|
||||
$settingsFile = FS_ROOT ."/settings.ini";
|
||||
$iniArray = $this->parseIniFile( $settingsFile, true );
|
||||
|
||||
// Parse the "global" settings
|
||||
@@ -588,4 +594,4 @@ abstract class NNScripts
|
||||
if( true === $show )
|
||||
$this->display( PHP_EOL );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user