summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/base.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/base.php b/lib/base.php
index 1d525f7e19d..15308138a14 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -322,15 +322,15 @@ class OC
}
- public static function loadAppClassPaths()
- {
- foreach(OC_APP::getEnabledApps() as $app) {
- $file = OC_App::getAppPath($app).'/appinfo/classpath.php';
- if(file_exists($file)) {
- require_once $file;
- }
- }
- }
+ public static function loadAppClassPaths()
+ {
+ foreach(OC_APP::getEnabledApps() as $app) {
+ $file = OC_App::getAppPath($app).'/appinfo/classpath.php';
+ if(file_exists($file)) {
+ require_once $file;
+ }
+ }
+ }
public static function init()
@@ -550,9 +550,9 @@ class OC
return;
}
- // load all the classpaths from the enabled apps so they are available
- // in the routing files of each app
- OC::loadAppClassPaths();
+ // load all the classpaths from the enabled apps so they are available
+ // in the routing files of each app
+ OC::loadAppClassPaths();
try {
OC::getRouter()->match(OC_Request::getPathInfo());