Skip to content

Commit

Permalink
Fixed installer to work with Symfony 4 - see #3165
Browse files Browse the repository at this point in the history
  • Loading branch information
brusch committed May 16, 2019
1 parent e4c89da commit d75b1ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/InstallBundle/Installer.php
Expand Up @@ -384,7 +384,7 @@ private function markMigrationsAsDone(KernelInterface $kernel)

private function installClasses(KernelInterface $kernel)
{
$this->logger->info('Running {command} command', ['command' => 'assets:install']);
$this->logger->info('Running {command} command', ['command' => 'pimcore:deployment:classes-rebuild']);
$io = $this->commandLineOutput;

try {
Expand Down
8 changes: 8 additions & 0 deletions bundles/InstallBundle/InstallerKernel.php
Expand Up @@ -60,6 +60,14 @@ public function getRootDir()
return $this->projectRoot . '/var/installer';
}

/**
* {@inheritdoc}
*/
public function getCacheDir()
{
return $this->getRootDir() . '/cache';
}

/**
* @inheritDoc
*/
Expand Down

0 comments on commit d75b1ce

Please sign in to comment.