Skip to content

Commit

Permalink
Remove extra slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Cansado Solà authored and Albert Cansado Solà committed Apr 17, 2018
1 parent 24b52a2 commit 50c3fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/BasePlugin.php
Expand Up @@ -224,7 +224,7 @@ protected function checkHook($hook)
*/
public function routes($routes)
{
$path = $this->getConfigPath() . DS . 'routes.php';
$path = $this->getConfigPath() . 'routes.php';
if (file_exists($path)) {
require $path;
}
Expand All @@ -235,7 +235,7 @@ public function routes($routes)
*/
public function bootstrap(PluginApplicationInterface $app)
{
$bootstrap = $this->getConfigPath() . DS . 'bootstrap.php';
$bootstrap = $this->getConfigPath() . 'bootstrap.php';
if (file_exists($bootstrap)) {
require $bootstrap;
}
Expand Down

0 comments on commit 50c3fa4

Please sign in to comment.