summaryrefslogtreecommitdiffstats
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-11 09:49:27 +0200
commitf908feddb52e35b9ef1c88d0bd3530d50050865a (patch)
treed37dc9d07c720a93c21ef52b4eccb4a2b5a67954 /public.php
parent2f546eab7101554a8002e299f43f48a70d82f65f (diff)
downloadnextcloud-server-f908feddb52e35b9ef1c88d0bd3530d50050865a.tar.gz
nextcloud-server-f908feddb52e35b9ef1c88d0bd3530d50050865a.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 ed7c172ecd5..2ef39cf4144 100644
--- a/public.php
+++ b/public.php
@@ -27,7 +27,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