8000 merged branch Burgov/patch-2 (PR #6263) · norberttech/symfony@e42ab1d · GitHub
[go: up one dir, main page]

Skip to content

Commit e42ab1d

Browse files
committed
merged branch Burgov/patch-2 (PR symfony#6263)
This PR was merged into the 2.0 branch. Commits ------- e6bb156 remove realpath call Discussion ---------- [HttpKernel] remove realpath call I'm trying to create an executable phar archive from a Symfony application, but when I run the phar, it fails to find any commands because of this php bug/feature: https://bugs.php.net/bug.php?id=52769 After this change, my archive works just like a normal app/console call
2 parents a7cd5f5 + e6bb156 commit e42ab1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Bundle/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ final public function getName()
172172
*/
173173
public function registerCommands(Application $application)
174174
{
175-
if (!$dir = realpath($this->getPath().'/Command')) {
175+
if (!is_dir($dir = $this->getPath().'/Command')) {
176176
return;
177177
}
178178

0 commit comments

Comments
 (0)
0