summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests/webdav.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-08-21 10:59:31 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-08-21 11:01:24 +0200
commit83afb46205ef9b2235a4b978beed44267d3e6c81 (patch)
tree13f1aa5b088267fe914df633248551cc5f3c7d3d /apps/files_encryption/tests/webdav.php
parent85ac9572ce4f43d1a87dfdfd898b17493f9f8539 (diff)
downloadnextcloud-server-83afb46205ef9b2235a4b978beed44267d3e6c81.tar.gz
nextcloud-server-83afb46205ef9b2235a4b978beed44267d3e6c81.zip
Use __DIR__ instead of dirname(__FILE__).
This is possible because we require PHP 5.3 or higher.
Diffstat (limited to 'apps/files_encryption/tests/webdav.php')
-rwxr-xr-xapps/files_encryption/tests/webdav.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_encryption/tests/webdav.php b/apps/files_encryption/tests/webdav.php
index b72f6816951..5c2f87b145d 100755
--- a/apps/files_encryption/tests/webdav.php
+++ b/apps/files_encryption/tests/webdav.php
@@ -20,14 +20,14 @@
*
*/
-require_once dirname(__FILE__) . '/../../../lib/base.php';
-require_once dirname(__FILE__) . '/../lib/crypt.php';
-require_once dirname(__FILE__) . '/../lib/keymanager.php';
-require_once dirname(__FILE__) . '/../lib/proxy.php';
-require_once dirname(__FILE__) . '/../lib/stream.php';
-require_once dirname(__FILE__) . '/../lib/util.php';
-require_once dirname(__FILE__) . '/../appinfo/app.php';
-require_once dirname(__FILE__) . '/util.php';
+require_once __DIR__ . '/../../../lib/base.php';
+require_once __DIR__ . '/../lib/crypt.php';
+require_once __DIR__ . '/../lib/keymanager.php';
+require_once __DIR__ . '/../lib/proxy.php';
+require_once __DIR__ . '/../lib/stream.php';
+require_once __DIR__ . '/../lib/util.php';
+require_once __DIR__ . '/../appinfo/app.php';
+require_once __DIR__ . '/util.php';
use OCA\Encryption;