summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt')
-rw-r--r--ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt b/ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt
index 41a833b5aa..12295beade 100644
--- a/ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt
+++ b/ext/dom/tests/DOMDocument_schemaValidateSource_error2.phpt
@@ -10,9 +10,9 @@ Daniel Convissor <danielc@php.net>
$doc = new DOMDocument;
-$doc->load(dirname(__FILE__)."/book.xml");
+$doc->load(__DIR__."/book.xml");
-$xsd = file_get_contents(dirname(__FILE__)."/book-non-conforming-schema.xsd");
+$xsd = file_get_contents(__DIR__."/book-non-conforming-schema.xsd");
$result = $doc->schemaValidateSource($xsd);
var_dump($result);