Skip to content

Commit

Permalink
bug #37 Fix app/logs creation for Symfony 2 (patrick-mota)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0.x-dev branch.

Discussion
----------

Fix app/logs creation for Symfony 2

Resolve the issue #22
Fix the err :: ln: target `/app/logs/' is not a directory: No such file or directory for Symfony 2 deployment

Commits
-------

8259526 Fix app/logs creation for Symfony 2
  • Loading branch information
javiereguiluz committed Mar 31, 2018
2 parents 343d977 + 8259526 commit bbd0c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/DefaultConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ private function setDefaultConfiguration(int $symfonyMajorVersion, $symfonyMinor
$this->setDirs('app', 'app/config', 'app/cache', 'app/logs', 'src', 'app/Resources/views', 'web');
$this->controllersToRemove(['web/app_*.php']);
$this->sharedFiles = ['app/config/parameters.yml'];
$this->sharedDirs = ['app/logs/'];
$this->sharedDirs = ['app/logs'];
$this->writableDirs = ['app/cache/', 'app/logs/'];
$this->dumpAsseticAssets = true;
} elseif (3 === $symfonyMajorVersion && 4 < $symfonyMinorVersion) {
Expand Down

0 comments on commit bbd0c87

Please sign in to comment.