summaryrefslogtreecommitdiff
path: root/ext/tidy/tests/016.phpt
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-09-26 19:24:18 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-09-26 19:24:18 +0000
commitd5bac133ee87aac7f5a09a33aa1b409b52a42657 (patch)
tree50f237cffefaa7ed70b8db01e11885baf520d676 /ext/tidy/tests/016.phpt
parentd6501f756a4eb1a07606b700583f46b7ff735c4c (diff)
downloadphp-git-d5bac133ee87aac7f5a09a33aa1b409b52a42657.tar.gz
Return FALSE when file cannot be found.
Specify full paths to the files used for the test.
Diffstat (limited to 'ext/tidy/tests/016.phpt')
-rw-r--r--ext/tidy/tests/016.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/tidy/tests/016.phpt b/ext/tidy/tests/016.phpt
index 660b85e337..f4f0752601 100644
--- a/ext/tidy/tests/016.phpt
+++ b/ext/tidy/tests/016.phpt
@@ -4,7 +4,8 @@ Passing configuration file through tidy_parse_file()
<?php if (!extension_loaded("tidy")) print "skip"; ?>
--FILE--
<?php
- $tidy = tidy_parse_file("ext/tidy/tests/016.html", "ext/tidy/tests/016.tcfg");
+ $path = dirname(__FILE__);
+ $tidy = tidy_parse_file("{$path}/016.html", "{$path}/016.tcfg");
tidy_clean_repair($tidy);
echo tidy_get_output($tidy);
?>