]> granicus.if.org Git - php/commitdiff
Using absolute path to get the file note.xml
authorAntonio Diaz Ruiz <dejalatele@gmail.com>
Wed, 17 Apr 2013 20:30:04 +0000 (22:30 +0200)
committerAntonio Diaz Ruiz <dejalatele@gmail.com>
Wed, 17 Apr 2013 20:30:04 +0000 (22:30 +0200)
ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt

index d0cea29c7c7d56af5e93a7f079a9509808aba283..4dfafa267d7480818116069fdbad9dbc1364b0ff 100644 (file)
@@ -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;