From eb23661e1b9e270b73b42291d808100a00669d1b Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Jul 2020 17:21:23 +0200 Subject: [PATCH] correctif purgeFile --- src/nineskeletor-1.0/src/Command/PurgeFileCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nineskeletor-1.0/src/Command/PurgeFileCommand.php b/src/nineskeletor-1.0/src/Command/PurgeFileCommand.php index 53b81b4..7e070f8 100644 --- a/src/nineskeletor-1.0/src/Command/PurgeFileCommand.php +++ b/src/nineskeletor-1.0/src/Command/PurgeFileCommand.php @@ -53,7 +53,7 @@ class PurgeFileCommand extends Command $now=new \DateTime('now'); $directory=$this->container->get('kernel')->getProjectDir()."/public/uploads/avatar"; - echo $directory; + $this->writeln($directory); $files=[]; $fs = new Filesystem();