Skip to content

Commit

Permalink
only strtolower service path (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsupplee authored and jdpedrie committed Jun 1, 2016
1 parent b0f2d60 commit 0b6d591
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/DocGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@ private function buildLink($content)
private function buildOutputPath()
{
$pathInfo = pathinfo($this->currentFile);
$jsonOutputPath = $this->outputPath . substr($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.json', 4);
$servicePath = substr($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.json', 4);
$servicePath = strtolower($servicePath);

return strtolower($jsonOutputPath);
return $this->outputPath . $servicePath;
}
}

0 comments on commit 0b6d591

Please sign in to comment.