summaryrefslogtreecommitdiff
path: root/tests/Selenium
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-13 14:41:55 +0200
committerAleksander Machniak <alec@alec.pl>2014-10-13 14:41:55 +0200
commit0ea079d604ef1f34cc47646ab23176a3c66f16ee (patch)
treef32d974513f62e11e50c5ef7c5e8b2b24164ddf2 /tests/Selenium
parent94791f6fd5a0e742cda92c73bfb16fda00761850 (diff)
dirname(__FILE__) -> __DIR__
Diffstat (limited to 'tests/Selenium')
-rw-r--r--tests/Selenium/bootstrap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Selenium/bootstrap.php b/tests/Selenium/bootstrap.php
index ed9c2eb32..124a81ef2 100644
--- a/tests/Selenium/bootstrap.php
+++ b/tests/Selenium/bootstrap.php
@@ -22,9 +22,9 @@
if (php_sapi_name() != 'cli')
die("Not in shell mode (php-cli)");
-if (!defined('INSTALL_PATH')) define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../../') . '/' );
+if (!defined('INSTALL_PATH')) define('INSTALL_PATH', realpath(__DIR__ . '/../../') . '/' );
-define('TESTS_DIR', dirname(__FILE__) . '/');
+define('TESTS_DIR', __DIR__ . '/');
if (@is_dir(TESTS_DIR . 'config')) {
define('RCUBE_CONFIG_DIR', TESTS_DIR . 'config');