Require path fixed.
This commit is contained in:
parent
b1528afa1b
commit
50930e9367
10 changed files with 34 additions and 34 deletions
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.3 $
|
Version : $Revision: 1.4 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/Archive.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/Archive.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
require_once "../../../storageServer/var/LocStor.php";
|
require_once dirname(__FILE__)."/../../storageServer/var/LocStor.php";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extension to StorageServer to act as ArchiveServer
|
* Extension to StorageServer to act as ArchiveServer
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.2 $
|
Version : $Revision: 1.3 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/put.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/put.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -55,9 +55,9 @@
|
||||||
* @see XR_LocStor
|
* @see XR_LocStor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once '../conf.php';
|
require_once dirname(__FILE__).'/../conf.php';
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
require_once '../Archive.php';
|
require_once dirname(__FILE__).'/../Archive.php';
|
||||||
|
|
||||||
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
||||||
$dbc = DB::connect($config['dsn'], TRUE);
|
$dbc = DB::connect($config['dsn'], TRUE);
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.5 $
|
Version : $Revision: 1.6 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/xrArchive.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/xrArchive.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -51,8 +51,8 @@ header("Content-type: text/xml");
|
||||||
|
|
||||||
/* ================================================================= includes */
|
/* ================================================================= includes */
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
require_once "../../../storageServer/var/xmlrpc/XML/RPC/Server.php";
|
require_once dirname(__FILE__)."/../../../storageServer/var/xmlrpc/XML/RPC/Server.php";
|
||||||
require_once '../conf.php';
|
require_once dirname(__FILE__).'/../conf.php';
|
||||||
require_once 'XR_Archive.php';
|
require_once 'XR_Archive.php';
|
||||||
|
|
||||||
/* ============================================ setting default error handler */
|
/* ============================================ setting default error handler */
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.4 $
|
Version : $Revision: 1.5 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/xr_cli_test.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/xmlrpc/xr_cli_test.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
include_once "../../../storageServer/var/xmlrpc/XML/RPC.php";
|
include_once dirname(__FILE__)."/../../../storageServer/var/xmlrpc/XML/RPC.php";
|
||||||
|
|
||||||
$pars = $argv;
|
$pars = $argv;
|
||||||
array_shift($pars);
|
array_shift($pars);
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.19 $
|
Version : $Revision: 1.20 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/XR_LocStor.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/XR_LocStor.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
require_once '../../../storageServer/var/LocStor.php';
|
require_once dirname(__FILE__).'/../LocStor.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* XML-RPC interface for LocStor class
|
* XML-RPC interface for LocStor class
|
||||||
|
@ -1419,7 +1419,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Prefs.php';
|
require_once dirname(__FILE__).'/../Prefs.php';
|
||||||
$pr =& new Prefs($this);
|
$pr =& new Prefs($this);
|
||||||
$res = $pr->loadPref($r['sessid'], $r['key']);
|
$res = $pr->loadPref($r['sessid'], $r['key']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1470,7 +1470,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Prefs.php';
|
require_once dirname(__FILE__).'/../Prefs.php';
|
||||||
$pr =& new Prefs($this);
|
$pr =& new Prefs($this);
|
||||||
$res = $pr->savePref($r['sessid'], $r['key'], $r['value']);
|
$res = $pr->savePref($r['sessid'], $r['key'], $r['value']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1520,7 +1520,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Prefs.php';
|
require_once dirname(__FILE__).'/../Prefs.php';
|
||||||
$pr =& new Prefs($this);
|
$pr =& new Prefs($this);
|
||||||
$res = $pr->delPref($r['sessid'], $r['key']);
|
$res = $pr->delPref($r['sessid'], $r['key']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1572,7 +1572,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Prefs.php';
|
require_once dirname(__FILE__).'/../Prefs.php';
|
||||||
$pr =& new Prefs($this);
|
$pr =& new Prefs($this);
|
||||||
$res = $pr->loadGroupPref($r['sessid'], $r['group'], $r['key']);
|
$res = $pr->loadGroupPref($r['sessid'], $r['group'], $r['key']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1628,7 +1628,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Prefs.php';
|
require_once dirname(__FILE__).'/../Prefs.php';
|
||||||
$pr =& new Prefs($this);
|
$pr =& new Prefs($this);
|
||||||
$res = $pr->saveGroupPref($r['sessid'], $r['group'], $r['key'], $r['value']);
|
$res = $pr->saveGroupPref($r['sessid'], $r['group'], $r['key'], $r['value']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1678,7 +1678,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Transport.php';
|
require_once dirname(__FILE__).'/../Transport.php';
|
||||||
$tr =& new Transport($this->dbc, $this, $this->config);
|
$tr =& new Transport($this->dbc, $this, $this->config);
|
||||||
$res = $tr->uploadToArchive($r['gunid'], $r['sessid']);
|
$res = $tr->uploadToArchive($r['gunid'], $r['sessid']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1727,7 +1727,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Transport.php';
|
require_once dirname(__FILE__).'/../Transport.php';
|
||||||
$tr =& new Transport($this->dbc, $this, $this->config);
|
$tr =& new Transport($this->dbc, $this, $this->config);
|
||||||
$res = $tr->downloadFromArchive($r['gunid'], $r['sessid']);
|
$res = $tr->downloadFromArchive($r['gunid'], $r['sessid']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
@ -1784,7 +1784,7 @@ class XR_LocStor extends LocStor{
|
||||||
{
|
{
|
||||||
list($ok, $r) = $this->_xr_getPars($input);
|
list($ok, $r) = $this->_xr_getPars($input);
|
||||||
if(!$ok) return $r;
|
if(!$ok) return $r;
|
||||||
require_once '../../../storageServer/var/Transport.php';
|
require_once dirname(__FILE__).'/../Transport.php';
|
||||||
$tr =& new Transport($this->dbc, $this, $this->config);
|
$tr =& new Transport($this->dbc, $this, $this->config);
|
||||||
$res = $tr->getTransportInfo($r['trtok'], $r['sessid']);
|
$res = $tr->getTransportInfo($r['trtok'], $r['sessid']);
|
||||||
if(PEAR::isError($res)){
|
if(PEAR::isError($res)){
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.6 $
|
Version : $Revision: 1.7 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/put.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/put.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -55,9 +55,9 @@
|
||||||
* @see XR_LocStor
|
* @see XR_LocStor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once '../conf.php';
|
require_once dirname(__FILE__).'/../conf.php';
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
require_once '../LocStor.php';
|
require_once dirname(__FILE__).'/../LocStor.php';
|
||||||
|
|
||||||
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
||||||
$dbc = DB::connect($config['dsn'], TRUE);
|
$dbc = DB::connect($config['dsn'], TRUE);
|
||||||
|
|
|
@ -23,15 +23,15 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.6 $
|
Version : $Revision: 1.7 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/schedulerPhpClient.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/* ================================================================= includes */
|
/* ================================================================= includes */
|
||||||
include_once "../conf.php";
|
include_once dirname(__FILE__)."/../conf.php";
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
include_once "../xmlrpc/XML/RPC.php";
|
include_once dirname(__FILE__)."/XML/RPC.php";
|
||||||
|
|
||||||
/* ================================================== method definition array */
|
/* ================================================== method definition array */
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.11 $
|
Version : $Revision: 1.12 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/simpleGet.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/simpleGet.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -54,9 +54,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once '../conf.php';
|
require_once dirname(__FILE__).'/../conf.php';
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
require_once '../LocStor.php';
|
require_once dirname(__FILE__).'/../LocStor.php';
|
||||||
|
|
||||||
$dbc = DB::connect($config['dsn'], TRUE);
|
$dbc = DB::connect($config['dsn'], TRUE);
|
||||||
$dbc->setErrorHandling(PEAR_ERROR_RETURN);
|
$dbc->setErrorHandling(PEAR_ERROR_RETURN);
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.24 $
|
Version : $Revision: 1.25 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -51,7 +51,7 @@ ini_set("error_append_string", "</string></value>
|
||||||
header("Content-type: text/xml");
|
header("Content-type: text/xml");
|
||||||
|
|
||||||
/* ================================================================= includes */
|
/* ================================================================= includes */
|
||||||
require_once '../conf.php';
|
require_once dirname(__FILE__).'/../conf.php';
|
||||||
require_once 'DB.php';
|
require_once 'DB.php';
|
||||||
require_once "XML/RPC/Server.php";
|
require_once "XML/RPC/Server.php";
|
||||||
require_once 'XR_LocStor.php';
|
require_once 'XR_LocStor.php';
|
||||||
|
|
|
@ -23,13 +23,13 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.7 $
|
Version : $Revision: 1.8 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xr_cli_test.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xr_cli_test.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
include_once "../xmlrpc/XML/RPC.php";
|
include_once dirname(__FILE__)."/XML/RPC.php";
|
||||||
include_once "../conf.php";
|
include_once dirname(__FILE__)."/../conf.php";
|
||||||
|
|
||||||
$pars = $argv;
|
$pars = $argv;
|
||||||
array_shift($pars);
|
array_shift($pars);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue