#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', 'StationPrefsGr'=> 'StationPrefs',
'AllGr' => 'All', 'AllGr' => 'All',
'TrashName' => 'trash_', 'TrashName' => 'trash_',
'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor', 'storageDir' => realpath(dirname(__FILE__).'/../../storageServer/var/stor'),
'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer', 'bufferDir' => realpath(dirname(__FILE__).'/../../storageServer/var/stor/buffer'),
'transDir' => dirname(__FILE__).'/../../storageServer/var/trans', 'transDir' => realpath(dirname(__FILE__).'/../../storageServer/var/trans'),
'accessDir' => dirname(__FILE__).'/../../storageServer/var/access', 'accessDir' => realpath(dirname(__FILE__).'/../../storageServer/var/access'),
'pearPath' => dirname(__FILE__).'/../../../../usr/lib/pear', 'pearPath' => realpath(dirname(__FILE__).'/../../../../usr/lib/pear'),
'cronDir' => dirname(__FILE__).'/../../storageServer/var/cron', 'cronDir' => realpath(dirname(__FILE__).'/../../storageServer/var/cron'),
'isArchive' => FALSE, 'isArchive' => FALSE,
'validate' => TRUE, 'validate' => TRUE,
'useTrash' => TRUE, 'useTrash' => TRUE,

View File

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