use __DIR__ instead of realpath

This commit is contained in:
Bjoern Schiessle 2013-08-14 17:15:01 +02:00
parent eb0fdc8380
commit 7d0e9cc685

View 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');