]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/AppKernel.php
Replace kernel.root_dir by kernel.project_dir
[github/wallabag/wallabag.git] / app / AppKernel.php
index f1140943dbc952c56635357e6175fb4ce97eb94a..d582c93e6ed4925d58db6577b71718470db6eca3 100644 (file)
@@ -57,11 +57,6 @@ class AppKernel extends Kernel
         return $bundles;
     }
 
-    public function getRootDir()
-    {
-        return __DIR__;
-    }
-
     public function getCacheDir()
     {
         return dirname(__DIR__) . '/var/cache/' . $this->getEnvironment();
@@ -74,7 +69,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', [