]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/AppKernel.php
Merge pull request #3382 from nclsHart/replace-kernel-rootdir
[github/wallabag/wallabag.git] / app / AppKernel.php
index 45f6b795905ea8145357da4f714e01bc402442e6..90e9f1d8d91470efe228396fb1d29bd3362a86a0 100644 (file)
@@ -58,11 +58,6 @@ class AppKernel extends Kernel
         return $bundles;
     }
 
-    public function getRootDir()
-    {
-        return __DIR__;
-    }
-
     public function getCacheDir()
     {
         return dirname(__DIR__) . '/var/cache/' . $this->getEnvironment();
@@ -75,7 +70,7 @@ class AppKernel extends Kernel
 
     public function registerContainerConfiguration(LoaderInterface $loader)
     {
-        $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml');
+        $loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');
         $loader->load(function ($container) {
             if ($container->getParameter('use_webpack_dev_server')) {
                 $container->loadFromExtension('framework', [