From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 05 Feb 2016 07:25:27 -0500
Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports

---
 plugins/emoticons/tests/Emoticons.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/plugins/emoticons/tests/Emoticons.php b/plugins/emoticons/tests/Emoticons.php
index 4b6c303..bc21ceb 100644
--- a/plugins/emoticons/tests/Emoticons.php
+++ b/plugins/emoticons/tests/Emoticons.php
@@ -5,7 +5,7 @@
 
     function setUp()
     {
-        include_once dirname(__FILE__) . '/../emoticons.php';
+        include_once __DIR__ . '/../emoticons.php';
     }
 
     /**
@@ -20,4 +20,3 @@
         $this->assertInstanceOf('rcube_plugin', $plugin);
     }
 }
-

--
Gitblit v1.9.1