From 236e1420483d1f24bbac44e60ff80d9b2f09ab20 Mon Sep 17 00:00:00 2001 From: martinknor Date: Sat, 19 Mar 2016 10:25:43 +0100 Subject: [PATCH] Fix path in install - dosctrine:fixtures For windows working --- .../Common/CommonBundle/Command/ElcodiInstallCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elcodi/Common/CommonBundle/Command/ElcodiInstallCommand.php b/src/Elcodi/Common/CommonBundle/Command/ElcodiInstallCommand.php index 298f3e1b..a6787802 100644 --- a/src/Elcodi/Common/CommonBundle/Command/ElcodiInstallCommand.php +++ b/src/Elcodi/Common/CommonBundle/Command/ElcodiInstallCommand.php @@ -180,8 +180,8 @@ private function loadCommonFixtures() $command = 'doctrine:fixtures:load ' . - '--fixtures=' . $rootDir . '/../src/Elcodi/Plugin/ ' . - '--fixtures=' . $rootDir . '/../src/Elcodi/Fixtures ' . + '--fixtures="' . str_replace('\\','/', realpath($rootDir . '/../src/Elcodi/Plugin/')) . '" ' . + '--fixtures="' . str_replace('\\','/', realpath($rootDir . '/../src/Elcodi/Fixtures')) . '" ' . '--env=test ' . '--no-interaction ';