Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-06 13:13:02 +0300
committerJoas Schilling <coding@schilljs.com>2016-10-06 13:15:13 +0300
commitf3319f62949f873420d8ebe843b26cc66fc1314f (patch)
treeb98137f1e72f3a6b58bc2a44cb4e473ebe0686bb /cron.php
parentff3e8c21397c79ac1231c4f16a8372908d79b067 (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 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index 68f6a5552d8..a4d2bb8692c 100644
--- a/cron.php
+++ b/cron.php
@@ -32,7 +32,7 @@
try {
- require_once 'lib/base.php';
+ require_once __DIR__ . '/lib/base.php';
if (\OCP\Util::needUpgrade()) {
\OCP\Util::writeLog('cron', 'Update required, skipping cron', \OCP\Util::DEBUG);