From 8fd5efb7c7fecf91ab850d2f5dfeced4b07e8562 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 22 Aug 2010 01:32:14 +0200 Subject: [PATCH] make test running on installed pear package work: pear run-tests -pu __uri/semanticscuttle --- src/SemanticScuttle/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php index bc60088..d1a5c29 100644 --- a/src/SemanticScuttle/header.php +++ b/src/SemanticScuttle/header.php @@ -20,7 +20,7 @@ if ('@data_dir@' == '@' . 'data_dir@') { $datadir = dirname(__FILE__) . '/../../data/'; } else { //pear installation; files are in include path - $datadir = '@data_dir@'; + $datadir = '@data_dir@/SemanticScuttle/'; } if (!file_exists($datadir . '/config.php')) {