summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-04 15:42:58 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-04 15:42:58 +0300
commit2028500c0a46440c635d0fb8daec38abc4742700 (patch)
treeca478dbb8abd045a69346672de2594f41c09e3f7 /lib
parente4e0b5a82217be7a86d47db1b5fd0de545a6fbb2 (diff)
downloadnextcloud-server-2028500c0a46440c635d0fb8daec38abc4742700.tar.gz
nextcloud-server-2028500c0a46440c635d0fb8daec38abc4742700.zip
fixing syntax error - sorry for that
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php
index 20f5fca2041..b1117eda111 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -78,19 +78,19 @@ class OC{
require_once $path;
}
elseif(strpos($className, 'OC_')===0) {
- $path = strtolower(str_replace('_', '/', substr($className,3)) . '.php');
+ $path = strtolower(str_replace('_', '/', substr($className, 3)) . '.php');
}
elseif(strpos($className, 'OCP\\')===0) {
- $path = 'public/'.strtolower(str_replace('\\',' /',s ubstr($className,3)) . '.php');
+ $path = 'public/'.strtolower(str_replace('\\',' /', substr($className, 3)) . '.php');
}
elseif(strpos($className, 'OCA\\')===0) {
- $path = 'apps/'.strtolower(str_replace('\\', '/', substr($className,3)) . '.php');
+ $path = 'apps/'.strtolower(str_replace('\\', '/', substr($className, 3)) . '.php');
}
elseif(strpos($className, 'Sabre_')===0) {
$path = str_replace('_', '/', $className) . '.php';
}
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');
}else{
return false;
}