Browse Source

Merge pull request #11961 from albertcansado/extra-slash

Remove extra slash
Mark Story 8 years ago
parent
commit
9bf1f4939b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Core/BasePlugin.php

+ 2 - 2
src/Core/BasePlugin.php

@@ -224,7 +224,7 @@ class BasePlugin implements PluginInterface
      */
     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 @@ class BasePlugin implements PluginInterface
      */
     public function bootstrap(PluginApplicationInterface $app)
     {
-        $bootstrap = $this->getConfigPath() . DS . 'bootstrap.php';
+        $bootstrap = $this->getConfigPath() . 'bootstrap.php';
         if (file_exists($bootstrap)) {
             require $bootstrap;
         }