diff options
Diffstat (limited to 'app/AppKernel.php')
-rw-r--r-- | app/AppKernel.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 45f6b795..90e9f1d8 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -58,11 +58,6 @@ class AppKernel extends Kernel | |||
58 | return $bundles; | 58 | return $bundles; |
59 | } | 59 | } |
60 | 60 | ||
61 | public function getRootDir() | ||
62 | { | ||
63 | return __DIR__; | ||
64 | } | ||
65 | |||
66 | public function getCacheDir() | 61 | public function getCacheDir() |
67 | { | 62 | { |
68 | return dirname(__DIR__) . '/var/cache/' . $this->getEnvironment(); | 63 | return dirname(__DIR__) . '/var/cache/' . $this->getEnvironment(); |
@@ -75,7 +70,7 @@ class AppKernel extends Kernel | |||
75 | 70 | ||
76 | public function registerContainerConfiguration(LoaderInterface $loader) | 71 | public function registerContainerConfiguration(LoaderInterface $loader) |
77 | { | 72 | { |
78 | $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml'); | 73 | $loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml'); |
79 | $loader->load(function ($container) { | 74 | $loader->load(function ($container) { |
80 | if ($container->getParameter('use_webpack_dev_server')) { | 75 | if ($container->getParameter('use_webpack_dev_server')) { |
81 | $container->loadFromExtension('framework', [ | 76 | $container->loadFromExtension('framework', [ |