diff --git a/src/AppKernel.php b/src/AppKernel.php index 02e1f176..083b64d6 100644 --- a/src/AppKernel.php +++ b/src/AppKernel.php @@ -27,14 +27,22 @@ public function registerContainerConfiguration(LoaderInterface $loader) */ public function getCacheDir() { - return sys_get_temp_dir() . '/phabalicious' . Utilities::FALLBACK_VERSION . md5(self::class); + + $dir = implode('-', [ + sys_get_temp_dir() . '/phabalicious', + Utilities::FALLBACK_VERSION, + getmyuid() , + md5(self::class) + ]); + + return $dir; } /** * Unique logs path for this Kernel */ public function getLogDir(): string { - return sys_get_temp_dir() . '/phabalicious' . Utilities::FALLBACK_VERSION . md5(self::class); + return $this->getCacheDir(); } protected function build(ContainerBuilder $containerBuilder)