diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-06 13:13:02 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-11 10:49:27 +0300 |
commit | f908feddb52e35b9ef1c88d0bd3530d50050865a (patch) | |
tree | d37dc9d07c720a93c21ef52b4eccb4a2b5a67954 /ocs/v1.php | |
parent | 2f546eab7101554a8002e299f43f48a70d82f65f (diff) |
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'ocs/v1.php')
-rw-r--r-- | ocs/v1.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/v1.php b/ocs/v1.php index abe76d100ce..e0e60d39914 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -28,7 +28,7 @@ * */ -require_once '../lib/base.php'; +require_once __DIR__ . '/../lib/base.php'; if (\OCP\Util::needUpgrade() || \OC::$server->getSystemConfig()->getValue('maintenance', false) |