access the container getting it from the kernel
This commit is contained in:
parent
ed1500fb4b
commit
68ea3f1a64
@ -94,7 +94,7 @@ EOT
|
|||||||
$targetArg = rtrim($input->getArgument('target'), '/');
|
$targetArg = rtrim($input->getArgument('target'), '/');
|
||||||
|
|
||||||
if (!$targetArg) {
|
if (!$targetArg) {
|
||||||
$targetArg = $this->getPublicDirectory($this->getContainer());
|
$targetArg = $this->getPublicDirectory($kernel->getContainer());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_dir($targetArg)) {
|
if (!is_dir($targetArg)) {
|
||||||
|
Reference in New Issue
Block a user