[Command] Fixed path in fixtures:dump command
This commit is contained in:
parent
d1c64b2ae5
commit
0551d6400e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ use Symfony\Component\Console\Input\InputOption;
|
|||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
use Propel\PropelBundle\DataFixtures\Dumper\YamlDumpFixtureser;
|
||||
use Propel\PropelBundle\DataFixtures\Dumper\YamlDataDumper;
|
||||
|
||||
/**
|
||||
* FixturesDumpCommand.
|
||||
|
|
@ -62,7 +62,7 @@ EOT
|
|||
|
||||
list($name, $defaultConfig) = $this->getConnection($input, $output);
|
||||
|
||||
$path = realpath($this->getApplication()->getKernel()->getRootDir() . '/../' . $this->defaultFixturesDir);
|
||||
$path = realpath($this->getApplication()->getKernel()->getRootDir() . '/../') . '/' . $this->defaultFixturesDir;
|
||||
$filename = $path . '/fixtures_' . time() . '.yml';
|
||||
|
||||
$dumper = new YamlDataDumper($this->getApplication()->getKernel()->getRootDir());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue