make test running on installed pear package work: pear run-tests -pu __uri/semanticscuttle

This commit is contained in:
Christian Weiske 2010-08-22 01:32:14 +02:00
parent f93aa6c7ac
commit 8fd5efb7c7

View file

@ -20,7 +20,7 @@ if ('@data_dir@' == '@' . 'data_dir@') {
$datadir = dirname(__FILE__) . '/../../data/'; $datadir = dirname(__FILE__) . '/../../data/';
} else { } else {
//pear installation; files are in include path //pear installation; files are in include path
$datadir = '@data_dir@'; $datadir = '@data_dir@/SemanticScuttle/';
} }
if (!file_exists($datadir . '/config.php')) { if (!file_exists($datadir . '/config.php')) {