]> source.dussan.org Git - nextcloud-server.git/commitdiff
provide correct path for require_once
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 12 Aug 2013 15:38:57 +0000 (17:38 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 12 Aug 2013 15:38:57 +0000 (17:38 +0200)
apps/files_encryption/files/error.php

index f93c67d920a427f486b4e6adc452ee1547454428..afe604f8ecbd1329aa9c8ac57cfc0ecacace3a19 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 if (!isset($_)) { //also provide standalone error page
-       require_once '../../../lib/base.php';
+       require_once realpath(dirname(__FILE__) . '/../../../lib/base.php');
 
        $l = OC_L10N::get('files_encryption');