Add doctrine-common and doctrine-dbal
This commit is contained in:
parent
95c8adba19
commit
44133a07d6
|
@ -0,0 +1,6 @@
|
|||
[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
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d1c7d4334e38cad603a5c863d4c7b91bb04ec6b2
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 30dc433ea08f4863479700492bdb70c3b06440bd
|
|
@ -93,6 +93,12 @@ class OC{
|
|||
elseif(strpos($className, 'Sabre_')===0) {
|
||||
$path = str_replace('_', '/', $className) . '.php';
|
||||
}
|
||||
elseif(strpos($className, 'Doctrine\\Common')===0) {
|
||||
$path = 'doctrine-common/lib/'.str_replace('\\', '/', $className) . '.php';
|
||||
}
|
||||
elseif(strpos($className, 'Doctrine\\DBAL')===0) {
|
||||
$path = 'doctrine-dbal/lib/'.str_replace('\\', '/', $className) . '.php';
|
||||
}
|
||||
elseif(strpos($className, 'Test_')===0) {
|
||||
$path = 'tests/lib/'.strtolower(str_replace('_', '/', substr($className, 5)) . '.php');
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue