summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-08-14 17:15:01 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-14 17:15:01 +0200
commit7d0e9cc685821c86d42a48ab7197e969c365a975 (patch)
tree4e47a36173427c91c95962d8f74124dfe915f35c /apps
parenteb0fdc838015c794641d6630eb64ff9e1c2a47a4 (diff)
downloadnextcloud-server-7d0e9cc685821c86d42a48ab7197e969c365a975.tar.gz
nextcloud-server-7d0e9cc685821c86d42a48ab7197e969c365a975.zip
use __DIR__ instead of realpath
Diffstat (limited to 'apps')
-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 afe604f8ecb..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 realpath(dirname(__FILE__) . '/../../../lib/base.php');
+ require_once __DIR__ . '/../../../lib/base.php';
$l = OC_L10N::get('files_encryption');