mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Typo, forgot the start.php version change
This commit is contained in:
@@ -20,7 +20,7 @@ if (!isset($argv[1])) {
|
||||
$postprocess = new PostProcess(true);
|
||||
if (isset($argv[1]) && $argv[1] === "additional") {
|
||||
// Create the connection here and pass, this is for post processing
|
||||
$nntp = new Nntp();
|
||||
$nntp = new NNTP();
|
||||
if ($nntp->doConnect() === false)
|
||||
{
|
||||
$c = new ColorCLI();
|
||||
@@ -34,7 +34,7 @@ if (isset($argv[1]) && $argv[1] === "additional") {
|
||||
} else if (isset($argv[1]) && $argv[1] === "nfo"){
|
||||
if ( $site->lookupnfo == 1){
|
||||
// Create the connection here and pass, this is for post processing
|
||||
$nntp = new Nntp();
|
||||
$nntp = new NNTP();
|
||||
if ($nntp->doConnect() === false)
|
||||
{
|
||||
$c = new ColorCLI();
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Attempt to include PEAR's nntp class if it has not already been included.
|
||||
*/
|
||||
require_once ("Net_NNTP/NNTP/Client.php");
|
||||
require_once ("/Net_NNTP/NNTP/Client.php");
|
||||
require_once(WWW_DIR."/lib/Tmux.php");
|
||||
require_once("ColorCLI.php");
|
||||
require_once("Yenc.php");
|
||||
|
||||
@@ -15,7 +15,7 @@ $tmux = $t->get();
|
||||
$patch = (isset($tmux->sqlpatch)) ? $tmux->sqlpatch : 0;
|
||||
|
||||
// Check database patch version
|
||||
if ($patch < 14) {
|
||||
if ($patch < 16) {
|
||||
exit($c->error("\nYour database is not up to date. Please update.\nphp ${DIR}/lib/DB/patchDB.php\n"));
|
||||
}
|
||||
$tmux_session = (isset($tmux->tmux_session)) ? $tmux->tmux_session : 0;
|
||||
|
||||
Reference in New Issue
Block a user