From f3319f62949f873420d8ebe843b26cc66fc1314f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 6 Oct 2016 12:13:02 +0200 Subject: Allow to call the files even when you are in another instance atm Signed-off-by: Joas Schilling --- remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote.php') diff --git a/remote.php b/remote.php index d4c321be802..e5bd3bb8fed 100644 --- a/remote.php +++ b/remote.php @@ -107,7 +107,7 @@ function resolveService($service) { } try { - require_once 'lib/base.php'; + require_once __DIR__ . '/lib/base.php'; // All resources served via the DAV endpoint should have the strictest possible // policy. Exempted from this is the SabreDAV browser plugin which overwrites -- cgit v1.2.3