From 7d0e9cc685821c86d42a48ab7197e969c365a975 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle <schiessle@owncloud.com> Date: Wed, 14 Aug 2013 17:15:01 +0200 Subject: [PATCH] use __DIR__ instead of realpath --- apps/files_encryption/files/error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- GitLab