fixed doctrine cli (git submodule update has not helped)

This commit is contained in:
Steffen Vogel 2010-08-28 03:29:01 +02:00
parent 0305a6ce3b
commit 0a2d7106fa
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env php
<?php
include('doctrine.php');
include('doctrine.php');
?>

View file

@ -47,12 +47,12 @@ Util\Configuration::load(BACKEND_DIR . '/volkszaehler.conf');
$em = Volkszaehler\Dispatcher::createEntityManager();
$helperSet = new \Symfony\Components\Console\Helper\HelperSet(array(
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
'db' => new \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($em->getConnection()),
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em)
));
$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION);
$cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION);
$cli->setCatchExceptions(TRUE);
$cli->setHelperSet($helperSet);
$cli->addCommands(array(