[2.0] Fix bin/doctrine.php using unknown ClassLoader to use GlobalClassLoader instead
This commit is contained in:
parent
120e6942e8
commit
705a477067
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
require 'Doctrine/Common/ClassLoader.php';
|
||||
require 'Doctrine/Common/GlobalClassLoader.php';
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader();
|
||||
$classLoader = new \Doctrine\Common\GlobalClassLoader();
|
||||
$classLoader->register();
|
||||
|
||||
$cli = new \Doctrine\ORM\Tools\Cli();
|
||||
$cli->run($_SERVER['argv']);
|
Loading…
Reference in New Issue
Block a user