summaryrefslogtreecommitdiff
path: root/pear/tests/pear_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'pear/tests/pear_error.phpt')
-rw-r--r--pear/tests/pear_error.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/tests/pear_error.phpt b/pear/tests/pear_error.phpt
index 5b3efaec38..2a77cf497d 100644
--- a/pear/tests/pear_error.phpt
+++ b/pear/tests/pear_error.phpt
@@ -13,7 +13,7 @@ if (!getenv('PHP_PEAR_RUNTESTS')) {
// Parts tested: - PEAR_Error class
// - PEAR::isError static method
-include dirname(__FILE__)."/../PEAR.php";
+include_once "PEAR.php";
function test_error_handler($errno, $errmsg, $file, $line, $vars) {
$errortype = array (