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 --- public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public.php') diff --git a/public.php b/public.php index 48fca3e8c38..2f86bc92bc6 100644 --- a/public.php +++ b/public.php @@ -29,7 +29,7 @@ */ try { - require_once 'lib/base.php'; + require_once __DIR__ . '/lib/base.php'; if (\OCP\Util::needUpgrade()) { // since the behavior of apps or remotes are unpredictable during // an upgrade, return a 503 directly -- cgit v1.2.3