spaces to tabs

This commit is contained in:
Bernhard Posselt 2013-01-17 21:44:40 +01:00
parent a8094abac7
commit 2b95ae1e6d
1 changed files with 12 additions and 12 deletions

View File

@ -322,15 +322,15 @@ class OC
} }
public static function loadAppClassPaths() public static function loadAppClassPaths()
{ {
foreach(OC_APP::getEnabledApps() as $app) { foreach(OC_APP::getEnabledApps() as $app) {
$file = OC_App::getAppPath($app).'/appinfo/classpath.php'; $file = OC_App::getAppPath($app).'/appinfo/classpath.php';
if(file_exists($file)) { if(file_exists($file)) {
require_once $file; require_once $file;
} }
} }
} }
public static function init() public static function init()
@ -550,9 +550,9 @@ class OC
return; return;
} }
// load all the classpaths from the enabled apps so they are available // load all the classpaths from the enabled apps so they are available
// in the routing files of each app // in the routing files of each app
OC::loadAppClassPaths(); OC::loadAppClassPaths();
try { try {
OC::getRouter()->match(OC_Request::getPathInfo()); OC::getRouter()->match(OC_Request::getPathInfo());