summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
Diffstat (limited to 'ocs')
-rw-r--r--ocs/providers.php1
-rw-r--r--ocs/v1.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/ocs/providers.php b/ocs/providers.php
index 79fc747c067..ded7680a2c7 100644
--- a/ocs/providers.php
+++ b/ocs/providers.php
@@ -23,6 +23,7 @@
*
*/
+require_once __DIR__ . '/../lib/versioncheck.php';
require_once __DIR__ . '/../lib/base.php';
header('Content-type: application/xml');
diff --git a/ocs/v1.php b/ocs/v1.php
index 857dc0fd148..43a1c2d9e0e 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -29,6 +29,7 @@
*
*/
+require_once __DIR__ . '/../lib/versioncheck.php';
require_once __DIR__ . '/../lib/base.php';
if (\OCP\Util::needUpgrade()