1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[2.0] Fix bin/doctrine.php using unknown ClassLoader to use GlobalClassLoader instead

This commit is contained in:
beberlei 2009-11-04 22:16:22 +00:00
parent 120e6942e8
commit 705a477067

View File

@ -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']);