|
|
|
@ -30,6 +30,9 @@ try { |
|
|
|
// load all apps to get all api routes properly setup
|
|
|
|
OC_App::loadApps(); |
|
|
|
|
|
|
|
// api calls always will return English
|
|
|
|
\OC_L10N::forceLanguage('en'); |
|
|
|
|
|
|
|
OC::$server->getRouter()->match('/ocs'.OC_Request::getRawPathInfo()); |
|
|
|
} catch (ResourceNotFoundException $e) { |
|
|
|
OC_API::setContentType(); |
|
|
|
|