Directory names ending in period.
PHPDoctor doesn't seem to handle directories which have a name ending with a period.
The solution was to change the str_replace function at the end of makeAbsolutePath function in phpDoctor.php - line 422. It started working fine when I replaced that line with this:
return preg_replace('/$\.\//', '', $this->fixPath($prefix).$path);
The solution was to change the str_replace function at the end of makeAbsolutePath function in phpDoctor.php - line 422. It started working fine when I replaced that line with this:
return preg_replace('/$\.\//', '', $this->fixPath($prefix).$path);
Leave a comment