Skip to content

Commit

Permalink
TASK: Change hardcoded cacheDir (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed Apr 4, 2023
1 parent dcd599b commit 63072a1
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/Cli/Symfony/ConsoleKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 63072a1

Please sign in to comment.