summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
Diffstat (limited to 'ocs')
-rw-r--r--ocs/providers.php4
-rw-r--r--ocs/v1.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/ocs/providers.php b/ocs/providers.php
index cc6de32266b..4c68ded914e 100644
--- a/ocs/providers.php
+++ b/ocs/providers.php
@@ -21,9 +21,9 @@
*
*/
-require_once('../lib/base.php');
+require_once '../lib/base.php';
-$url='http://'.substr(OCP\Util::getServerHost().$_SERVER['REQUEST_URI'],0,-17).'ocs/v1.php/';
+$url='http://'.substr(OCP\Util::getServerHost().$_SERVER['REQUEST_URI'], 0, -17).'ocs/v1.php/';
echo('
<providers>
diff --git a/ocs/v1.php b/ocs/v1.php
index ce6bad3d450..ac1312afb67 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -32,3 +32,4 @@ try {
} catch (MethodNotAllowedException $e) {
OC_Response::setStatus(405);
}
+