Change to use 3rdparty version

This commit is contained in:
Bart Visscher 2012-12-07 13:50:59 +01:00
parent 89cd8a3fc7
commit dc8b22485e
4 changed files with 2 additions and 10 deletions

6
.gitmodules vendored
View File

@ -1,6 +0,0 @@
[submodule "3rdparty/doctrine-common"]
path = 3rdparty/doctrine-common
url = git://github.com/doctrine/common.git
[submodule "3rdparty/doctrine-dbal"]
path = 3rdparty/doctrine-dbal
url = git://github.com/doctrine/dbal.git

@ -1 +0,0 @@
Subproject commit d1c7d4334e38cad603a5c863d4c7b91bb04ec6b2

@ -1 +0,0 @@
Subproject commit 30dc433ea08f4863479700492bdb70c3b06440bd

View File

@ -100,10 +100,10 @@ class OC{
$path = str_replace('_', '/', $className) . '.php';
}
elseif(strpos($className, 'Doctrine\\Common')===0) {
$path = 'doctrine-common/lib/'.str_replace('\\', '/', $className) . '.php';
$path = 'doctrine/common/lib/'.str_replace('\\', '/', $className) . '.php';
}
elseif(strpos($className, 'Doctrine\\DBAL')===0) {
$path = 'doctrine-dbal/lib/'.str_replace('\\', '/', $className) . '.php';
$path = 'doctrine/dbal/lib/'.str_replace('\\', '/', $className) . '.php';
}
elseif(strpos($className, 'Symfony\\Component\\Routing\\')===0) {
$path = 'symfony/routing/'.str_replace('\\', '/', $className) . '.php';