diff --git a/src/Core/BasePlugin.php b/src/Core/BasePlugin.php index 6a20ff972c9..bb76304a807 100644 --- a/src/Core/BasePlugin.php +++ b/src/Core/BasePlugin.php @@ -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; } @@ -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; }