diff --git a/src/Cli/Symfony/ConsoleKernel.php b/src/Cli/Symfony/ConsoleKernel.php index fd640711..8c836f72 100644 --- a/src/Cli/Symfony/ConsoleKernel.php +++ b/src/Cli/Symfony/ConsoleKernel.php @@ -67,15 +67,8 @@ protected function build(ContainerBuilder $container): void ); } - public function getCacheDir(): string + public function getProjectDir(): string { - // manually configured, so it can be replaced in phar - return sys_get_temp_dir() . '/_surf'; - } - - public function getLogDir(): string - { - // manually configured, so it can be replaced in phar - return sys_get_temp_dir() . '/_surf_log'; + return \dirname(__DIR__, 3); } }