aboutsummaryrefslogtreecommitdiffstats
path: root/public.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-06 12:13:02 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-06 12:15:13 +0200
commitf3319f62949f873420d8ebe843b26cc66fc1314f (patch)
treeb98137f1e72f3a6b58bc2a44cb4e473ebe0686bb /public.php
parentff3e8c21397c79ac1231c4f16a8372908d79b067 (diff)
downloadnextcloud-server-f3319f62949f873420d8ebe843b26cc66fc1314f.tar.gz
nextcloud-server-f3319f62949f873420d8ebe843b26cc66fc1314f.zip
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'public.php')
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
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