From 21fbfa1e22ceaf1ec2ce656d723758789f26c07d Mon Sep 17 00:00:00 2001 From: Darko Date: Thu, 14 Nov 2013 14:19:19 +0100 Subject: [PATCH] Fixed path --- bin/monitor.php | 2 +- test/fixReleaseNames.php | 2 +- test/functions.php | 1 + test/nzbcontents.php | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/monitor.php b/bin/monitor.php index 61d3af507..758699e40 100644 --- a/bin/monitor.php +++ b/bin/monitor.php @@ -2,7 +2,7 @@ require(dirname(__FILE__)."/config.php"); require(WWW_DIR.'/lib/postprocess.php'); -$version="0.3r019"; +$version="0.3r021"; $db = new DB(); $DIR = dirname (__FILE__); diff --git a/test/fixReleaseNames.php b/test/fixReleaseNames.php index 20c21888c..933831ee2 100755 --- a/test/fixReleaseNames.php +++ b/test/fixReleaseNames.php @@ -28,7 +28,7 @@ if (isset($argv[1]) && isset($argv[2]) && isset($argv[3]) && isset($argv[4])) if ($argv[1] == 7 || $argv[1] == 8) { - require_once(FS_ROOT.'/../../../www/lib/nntp.php'); + require_once(WWW_DIR."/lib/nntp.php"); $nntp = new Nntp(); if (($nntp->doConnect()) === false) { diff --git a/test/functions.php b/test/functions.php index e77e43a1d..81a7e1ded 100755 --- a/test/functions.php +++ b/test/functions.php @@ -11,6 +11,7 @@ require_once(WWW_DIR."/lib/nfo.php"); require_once(WWW_DIR."/lib/site.php"); require_once(WWW_DIR."/lib/util.php"); require_once(WWW_DIR."/lib/groups.php"); +require_once(WWW_DIR."/lib/nntp.php"); require_once("consoletools.php"); require_once("ColorCLI.php"); diff --git a/test/nzbcontents.php b/test/nzbcontents.php index 53e6dee17..e45d0bda2 100644 --- a/test/nzbcontents.php +++ b/test/nzbcontents.php @@ -3,6 +3,7 @@ require_once(WWW_DIR."/lib/framework/db.php"); require_once(WWW_DIR."/lib/nzb.php"); require_once(WWW_DIR."/lib/nfo.php"); +require_once(WWW_DIR."/lib/nntp.php"); require_once("functions.php"); require_once("ColorCLI.php");