Ticket #73: PhingFile.php-rev147.patch
| File PhingFile.php-rev147.patch, 0.5 kB (added by micha@aichler.net, 2 years ago) |
|---|
-
PhingFile.php
old new 166 166 // that's a lastIndexOf 167 167 $index = ((($res = strrpos($this->path, self::$separator)) === false) ? -1 : $res); 168 168 if ($index < $this->prefixLength) { 169 if (($this->prefixLength > 0) && (strlen($this->path > $this->prefixLength))) {169 if (($this->prefixLength > 0) && (strlen($this->path) > $this->prefixLength))) { 170 170 return substr($this->path, 0, $this->prefixLength); 171 171 } 172 172 return null;
