diff --git a/base/HHVMDaemon.php b/base/HHVMDaemon.php index 9b56aa3..06c325e 100644 --- a/base/HHVMDaemon.php +++ b/base/HHVMDaemon.php @@ -194,17 +194,17 @@ public function start(): void { } $bcRepo = $this->options->tempDir.'/hhvm.hhbc'; - $staticContent = $this->options->tempDir.'/static.content'; if (file_exists($bcRepo)) { unlink($bcRepo); } + $staticContent = $this->options->tempDir.'/static.content'; if ($this->options->filecache) { if (file_exists($staticContent)) { unlink($staticContent); } $args->add('--file-cache'); - $args->add($this->options->tempDir.'/static.content'); + $args->add($staticContent); } Utils::RunCommand($args);