]> source.dussan.org Git - nextcloud-server.git/commitdiff
use __DIR__ instead of realpath
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 14 Aug 2013 15:15:01 +0000 (17:15 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 14 Aug 2013 15:15:01 +0000 (17:15 +0200)
apps/files_encryption/files/error.php

index afe604f8ecbd1329aa9c8ac57cfc0ecacace3a19..2dd27257abe45381c9cf357ffa51e23da9f1df91 100644 (file)
@@ -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');