Rev 130 | Rev 139 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | |
49 | |
50 | if ($file{0} == "/") |
50 | if ($file{0} == "/") |
51 | $pfile = substr($file, 1); |
51 | $pfile = substr($file, 1); |
52 | else |
52 | else |
53 | $pfile = $file; |
53 | $pfile = $file; |
- | 54 | //$pfile = rawurldecode($pfile); |
|
54 | |
55 | |
55 | if ($returnjoin) |
56 | if ($returnjoin) |
56 | return $ppath.$pfile; |
57 | return $ppath.$pfile; |
57 | |
58 | |
58 | $isDir = $pfile{strlen($pfile) - 1} == "/"; |
59 | $isDir = $pfile{strlen($pfile) - 1} == "/"; |