#1715 - fixed problem with PHP include path in tests

This commit is contained in:
tomash 2006-08-24 11:22:52 +00:00
parent e76d68ea79
commit d36fc52619
2 changed files with 7 additions and 6 deletions

View File

@ -85,12 +85,12 @@ $config = array(
'StationPrefsGr'=> 'StationPrefs',
'AllGr' => 'All',
'TrashName' => 'trash_',
'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
'pearPath' => dirname(__FILE__).'/../../../../usr/lib/pear',
'cronDir' => dirname(__FILE__).'/../../storageServer/var/cron',
'storageDir' => realpath(dirname(__FILE__).'/../../storageServer/var/stor'),
'bufferDir' => realpath(dirname(__FILE__).'/../../storageServer/var/stor/buffer'),
'transDir' => realpath(dirname(__FILE__).'/../../storageServer/var/trans'),
'accessDir' => realpath(dirname(__FILE__).'/../../storageServer/var/access'),
'pearPath' => realpath(dirname(__FILE__).'/../../../../usr/lib/pear'),
'cronDir' => realpath(dirname(__FILE__).'/../../storageServer/var/cron'),
'isArchive' => FALSE,
'validate' => TRUE,
'useTrash' => TRUE,

View File

@ -28,6 +28,7 @@
------------------------------------------------------------------------------*/
require_once dirname(__FILE__).'/../conf.php';
include_once "XML/RPC.php";
include_once dirname(__FILE__)."/../conf.php";