diff --git a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php index f82e1fb209d77..3f42afb6686ec 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php @@ -114,6 +114,15 @@ public function getCacheDir(): string return parent::getCacheDir(); } + public function getBuildDir(): string + { + if (isset($_SERVER['APP_BUILD_DIR'])) { + return $_SERVER['APP_BUILD_DIR'].'/'.$this->environment; + } + + return parent::getBuildDir(); + } + public function getLogDir(): string { return $_SERVER['APP_LOG_DIR'] ?? parent::getLogDir();
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: