Change Symfony/Component/Routing from submodule to composer fetching
This commit is contained in:
parent
a8d0f84829
commit
43e8293d9c
|
@ -54,3 +54,7 @@ nbproject
|
||||||
# WebFinger
|
# WebFinger
|
||||||
.well-known
|
.well-known
|
||||||
/.buildpath
|
/.buildpath
|
||||||
|
3rdparty/autoload.php
|
||||||
|
3rdparty/composer/
|
||||||
|
3rdparty/symfony/
|
||||||
|
composer.lock
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[submodule "3rdparty/Symfony/Component/Routing"]
|
|
||||||
path = 3rdparty/Symfony/Component/Routing
|
|
||||||
url = git://github.com/symfony/Routing.git
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit d72483890880a987afa679503af096d2aaf7d2ee
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"require": {
|
||||||
|
"symfony/routing": "2.0.*"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"vendor-dir": "3rdparty"
|
||||||
|
}
|
||||||
|
}
|
|
@ -97,8 +97,8 @@ class OC{
|
||||||
elseif(strpos($className, 'Sabre_')===0) {
|
elseif(strpos($className, 'Sabre_')===0) {
|
||||||
$path = str_replace('_', '/', $className) . '.php';
|
$path = str_replace('_', '/', $className) . '.php';
|
||||||
}
|
}
|
||||||
elseif(strpos($className, 'Symfony\\')===0) {
|
elseif(strpos($className, 'Symfony\\Component\\Routing\\')===0) {
|
||||||
$path = str_replace('\\', '/', $className) . '.php';
|
$path = 'symfony/routing/'.str_replace('\\', '/', $className) . '.php';
|
||||||
}
|
}
|
||||||
elseif(strpos($className, 'Test_')===0) {
|
elseif(strpos($className, 'Test_')===0) {
|
||||||
$path = 'tests/lib/'.strtolower(str_replace('_', '/', substr($className, 5)) . '.php');
|
$path = 'tests/lib/'.strtolower(str_replace('_', '/', substr($className, 5)) . '.php');
|
||||||
|
|
Loading…
Reference in New Issue