Skip to content

Commit

Permalink
Merge pull request #1716 from colorando-de/bugfix/i1715-extensions-co…
Browse files Browse the repository at this point in the history
…nfigure-on-windows-machines

Replaced hardcoded '/' by DIRECTORY_SEPARATOR
  • Loading branch information
bobdenotter authored Aug 14, 2020
2 parents a449072 + ffb35f1 commit 6da33f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/ExtensionsConfigureCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function getRelativePath(string $path): string
*/
private function getExtensionRoutesPath(string $path = '*'): string
{
return $this->projectDir . '/config/routes/extension_' . Str::splitLast($path, '/') . '.yaml';
return $this->projectDir . '/config/routes/extension_' . Str::splitLast($path, DIRECTORY_SEPARATOR) . '.yaml';
}

/**
Expand All @@ -127,7 +127,7 @@ private function getExtensionRoutesPath(string $path = '*'): string
*/
private function getExtensionServicesPath(string $path = '*'): string
{
return $this->projectDir . '/config/packages/extension_' . Str::splitLast($path, '/') . '.yaml';
return $this->projectDir . '/config/packages/extension_' . Str::splitLast($path, DIRECTORY_SEPARATOR) . '.yaml';
}

private function getExtensionConfigPath(string $namespace, string $name): string
Expand Down

0 comments on commit 6da33f1

Please sign in to comment.