summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-08-14 21:20:53 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-08-14 21:20:53 +0200
commit75e9015b5445e957f2454373bed67dac1741b5cb (patch)
treeebdf71ef7a33c56ecf102b962e34f49e976e5159
parent06670cef8ab02e0c06be3abf749358938bb9fe45 (diff)
parent7d0e9cc685821c86d42a48ab7197e969c365a975 (diff)
downloadnextcloud-server-75e9015b5445e957f2454373bed67dac1741b5cb.tar.gz
nextcloud-server-75e9015b5445e957f2454373bed67dac1741b5cb.zip
Merge pull request #4393 from owncloud/fix_4326
provide correct path for require_once * owncloud/fix_4326: use __DIR__ instead of realpath provide correct path for require_once
-rw-r--r--apps/files_encryption/files/error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/files/error.php b/apps/files_encryption/files/error.php
index f93c67d920a..2dd27257abe 100644
--- a/apps/files_encryption/files/error.php
+++ b/apps/files_encryption/files/error.php
@@ -1,6 +1,6 @@
<?php
if (!isset($_)) { //also provide standalone error page
- require_once '../../../lib/base.php';
+ require_once __DIR__ . '/../../../lib/base.php';
$l = OC_L10N::get('files_encryption');