--- inc/find_html_file.inc 2001/06/25 09:57:25 1.1.1.1
+++ inc/find_html_file.inc 2001/09/19 16:32:24 1.3
@@ -1,7 +1,7 @@
function find_html_file($dir,$file) {
- $file="./$dir/$file";
+ if ($dir!="") $file="./$dir/$file";
if (is_file("$file") && file_exists("$file")) { return "$file"; }
if (is_file("$file.htm") && file_exists("$file.htm")) { return "$file.htm"; }
if (is_file("$file.html") && file_exists("$file.html")) { return "$file.html"; }