diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 19:56:07 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 19:56:07 +0200 |
commit | 42a570788b22bcf28d2cc0124dbfa4cdeeb9ea04 (patch) | |
tree | f6a385649abba09d709e265c1ae5f2c25f83fff3 /lib/base.php | |
parent | 6d92ebca454ab2e6533d0b7a08bfe30d20005820 (diff) | |
parent | f5c9fe9ece6fdfb35bab5eefdf83830b5045b5a8 (diff) | |
download | nextcloud-server-42a570788b22bcf28d2cc0124dbfa4cdeeb9ea04.tar.gz nextcloud-server-42a570788b22bcf28d2cc0124dbfa4cdeeb9ea04.zip |
Merge branch 'master' into movable_apps
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 559d49ca997..97b363b1fa9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -88,6 +88,9 @@ class OC{ elseif(strpos($className,'OC_')===0){ require_once strtolower(str_replace('_','/',substr($className,3)) . '.php'); } + elseif(strpos($className,'OCP\\')===0){ + require_once 'public/'.strtolower(str_replace('\\','/',substr($className,3)) . '.php'); + } elseif(strpos($className,'Sabre_')===0) { require_once str_replace('_','/',$className) . '.php'; } @@ -436,4 +439,4 @@ if(!function_exists('get_temp_dir')) { } } -OC::init();
\ No newline at end of file +OC::init(); |