/[corp_html]/inc/find_html_file.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/find_html_file.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dpavlin, Thu Sep 20 09:50:43 2001 UTC revision 1.5 by dpavlin, Mon Oct 29 14:03:52 2001 UTC
# Line 3  Line 3 
3  function find_html_file($dir,$file) {  function find_html_file($dir,$file) {
4          if (substr($dir,0,1) == "/" && $dir !="") {          if (substr($dir,0,1) == "/" && $dir !="") {
5                  $file="$dir/$file";                  $file="$dir/$file";
6            } elseif ($dir == "" && substr($file,0,1) == "/") {
7                    // $file
8          } else {          } else {
9                  $file="./$dir/$file";                  $file="./$dir/$file";
10          }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.26