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-15 12:37:26 +0200
commit7d8ab0a6c1c6081eec2da2652930020e338e9b7d (patch)
tree096da8350da2d4eaf487a76c4668c7c0b95b44c4 /apps
parent2fbcbe9b834205ce5a2cea2d250fc42d5ff2aba1 (diff)
downloadnextcloud-server-7d8ab0a6c1c6081eec2da2652930020e338e9b7d.tar.gz
nextcloud-server-7d8ab0a6c1c6081eec2da2652930020e338e9b7d.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');