diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-07-21 19:43:50 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-07-21 19:43:50 +0200 |
commit | d0cae6a99a332af79b2506205aa25aad4313d912 (patch) | |
tree | 554fc9ef8006652835248798cd1755827915c5d6 /lib/base.php | |
parent | 687c87bc5b4d4c04cdb05adcab2465d8dfbb34cc (diff) | |
download | nextcloud-server-d0cae6a99a332af79b2506205aa25aad4313d912.tar.gz nextcloud-server-d0cae6a99a332af79b2506205aa25aad4313d912.zip |
Very basic conversion of ocs to Symfony Routing Component
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 631ed4fcce6..fcca1e77d26 100644 --- a/lib/base.php +++ b/lib/base.php @@ -86,6 +86,9 @@ class OC{ elseif(strpos($className,'Sabre_')===0) { require_once str_replace('_','/',$className) . '.php'; } + elseif(strpos($className,'Symfony\\')===0){ + require_once str_replace('\\','/',$className) . '.php'; + } elseif(strpos($className,'Test_')===0){ require_once 'tests/lib/'.strtolower(str_replace('_','/',substr($className,5)) . '.php'); } |