summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
Diffstat (limited to 'ocs')
-rw-r--r--ocs/providers.php4
-rw-r--r--ocs/v1.php2
2 files changed, 3 insertions, 3 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 ab0dc80f4ba..b12ea5ef18d 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -21,6 +21,6 @@
*
*/
-require_once('../lib/base.php');
+require_once '../lib/base.php';
@ob_clean();
OC_OCS::handle();