diff options
Diffstat (limited to 'ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt')
| -rw-r--r-- | ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt b/ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt index 994b94d0c8..6140dc75b7 100644 --- a/ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt +++ b/ext/dom/tests/DOMDocument_schemaValidateSource_addAttrs.phpt @@ -9,9 +9,9 @@ Chris Wright <info@daverandom.com> $doc = new DOMDocument; -$doc->load(dirname(__FILE__)."/book-attr.xml"); +$doc->load(__DIR__."/book-attr.xml"); -$xsd = file_get_contents(dirname(__FILE__)."/book.xsd"); +$xsd = file_get_contents(__DIR__."/book.xsd"); $doc->schemaValidateSource($xsd, LIBXML_SCHEMA_CREATE); |
