diff options
Diffstat (limited to 'ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt')
-rw-r--r-- | ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt index 5eeb793ed5..1ef40abc94 100644 --- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt +++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt @@ -12,9 +12,9 @@ list - it does not replace the old function. ?> --FILE-- <?php -include dirname(__FILE__) .'/prepare.inc'; +include __DIR__ .'/prepare.inc'; $phpfuncxsl = new domDocument(); -$phpfuncxsl->load(dirname(__FILE__)."/phpfunc.xsl"); +$phpfuncxsl->load(__DIR__."/phpfunc.xsl"); if(!$phpfuncxsl) { echo "Error while parsing the xsl document\n"; exit; |