From b8af7ee9bc9badb76bbf8d7eb4ff9dcc8744ba6c Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 13 Oct 2017 21:30:29 +0200 Subject: Nextcloud 13 is not compatible with newer than php 7.2 Just to avoid users from trying this with a to new (untested) php version * Moved the check logic to 1 place * All directly callable scripts just require this on top * exit hard (-1) so we know scripts won't continue * Return status 500 so no sync clients will try fancy stuff Signed-off-by: Roeland Jago Douma --- ocs/providers.php | 1 + 1 file changed, 1 insertion(+) (limited to 'ocs/providers.php') 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'); -- cgit v1.2.3