Skip to content

Commit

Permalink
php7
Browse files Browse the repository at this point in the history
  • Loading branch information
rostenkowski committed Mar 23, 2017
1 parent e83758a commit 210d30d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ImageStore/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ public function loadConfiguration()
$builder = $this->getContainerBuilder();

// Image storage
$baseDir = $builder->parameters['baseDir'];
$appDir = $builder->parameters['appDir'];
$wwwDir = $builder->parameters['wwwDir'];
$builder->addDefinition($this->prefix('storage'))
->setClass($this->options['storageClass'], [
$baseDir . $this->options['storageDir'],
$baseDir . $this->options['cacheDir'],
$appDir . '/../' . $this->options['storageDir'],
$wwwDir . $this->options['cacheDir'],
$this->options['basePath'],
]);

Expand Down

0 comments on commit 210d30d

Please sign in to comment.