--- embedaddon/php/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt 2012/02/21 23:47:54 1.1.1.1 +++ embedaddon/php/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt 2013/07/22 01:31:40 1.1.1.2 @@ -12,8 +12,8 @@ require_once('skipif.inc'); require_once('dom_test.inc'); -chdir(__DIR__ . "/../examples"); -$XMLStringGood = file_get_contents('note.xml'); +chdir(__DIR__); +$XMLStringGood = file_get_contents(dirname(__FILE__).'/note.xml'); $dom = new DOMDocument; $dom->resolveExternals = TRUE;