From: Antonio Diaz Ruiz Date: Wed, 17 Apr 2013 20:30:04 +0000 (+0200) Subject: Using absolute path to get the file note.xml X-Git-Tag: php-5.6.0alpha1~448^2~23^2~30^2^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a019f3882ad593863ade742b13fc4e26ad80659;p=php Using absolute path to get the file note.xml --- diff --git a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt index d0cea29c7c..4dfafa267d 100644 --- a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt +++ b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt @@ -13,7 +13,7 @@ require_once('skipif.inc'); require_once('dom_test.inc'); chdir(__DIR__); -$XMLStringGood = file_get_contents('note.xml'); +$XMLStringGood = file_get_contents(dirname(__FILE__).'/note.xml'); $dom = new DOMDocument; $dom->resolveExternals = TRUE;