summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/driver_name_11gR2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/driver_name_11gR2.phpt')
-rw-r--r--ext/oci8/tests/driver_name_11gR2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/tests/driver_name_11gR2.phpt b/ext/oci8/tests/driver_name_11gR2.phpt
index d44f495dea..bb82b92fa3 100644
--- a/ext/oci8/tests/driver_name_11gR2.phpt
+++ b/ext/oci8/tests/driver_name_11gR2.phpt
@@ -3,7 +3,7 @@ Verify that the Driver Name attribute is set
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension");
-require(dirname(__FILE__)."/connect.inc");
+require(__DIR__."/connect.inc");
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
if ($test_drcp) die("skip as Output might vary with DRCP");
@@ -19,7 +19,7 @@ if (!(isset($matches[0]) && ($matches[1] == 11 && $matches[2] >= 2) || ($matches
?>
--FILE--
<?php
-require(dirname(__FILE__)."/connect.inc");
+require(__DIR__."/connect.inc");
echo"**Test 1.1 - Default values for the attribute **************\n";
get_attr($c);