summaryrefslogtreecommitdiff
path: root/pear/tests/pear_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'pear/tests/pear_error2.phpt')
-rw-r--r--pear/tests/pear_error2.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/tests/pear_error2.phpt b/pear/tests/pear_error2.phpt
index aca029b47d..9dbfa3b22c 100644
--- a/pear/tests/pear_error2.phpt
+++ b/pear/tests/pear_error2.phpt
@@ -14,7 +14,7 @@ if (!getenv('PHP_PEAR_RUNTESTS')) {
// - PEAR::isError static method
// testing PEAR_Error
-include dirname(__FILE__)."/../PEAR.php";
+include_once "PEAR.php";
error_reporting(E_ALL);