diff --git a/bin/postprocess_new.php b/bin/postprocess_new.php index 0a1713f57..88acac428 100644 --- a/bin/postprocess_new.php +++ b/bin/postprocess_new.php @@ -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(); diff --git a/lib/NNTP.php b/lib/NNTP.php index 2f8d9d106..53b295efb 100644 --- a/lib/NNTP.php +++ b/lib/NNTP.php @@ -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"); diff --git a/start.php b/start.php index 2d2df7f4a..7bdb0c5d6 100644 --- a/start.php +++ b/start.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;