com php-src: Using absolute path to get the file note.xml: ext/dom/tests/DOMDocument_validate_on_parse_variation .phpt
| From: | Xinchen Hui | Date: | Wed, 17 Apr 2013 20:30:04 +0000 |
| Subject: | com php-src: Using absolute path to get the file note.xml: ext/dom/tests/DOMDocument_validate_on_parse_variation .phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71963@lists.php.net to get a copy of this message | ||
Commit: 8a019f3882ad593863ade742b13fc4e26ad80659
Author: Antonio Diaz Ruiz <dejalatele@gmail.com> Wed, 17 Apr 2013 22:30:04 +0200
Parents: b41145bc5c457d9713fe8d48befc6e6470903313
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8a019f3882ad593863ade742b13fc4e26ad80659
Log:
Using absolute path to get the file note.xml
Changed paths:
M ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
Diff:
diff --git a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt
index d0cea29..4dfafa2 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;