summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-14 06:22:13 (GMT)
committerAleksander Machniak <alec@alec.pl>2014-10-14 06:22:13 (GMT)
commit1f476a5eccffbf6bfb9591b89e65f87c355e0564 (patch)
treec87da167a9fc4621d94d07e83d6e1f213c111887
parentbb58debeefbbf77f9337ccb3673eb0e50c614b8b (diff)
downloadkolab-chwala-1f476a5eccffbf6bfb9591b89e65f87c355e0564.tar.gz
dirname(__FILE__) -> __DIR__
-rw-r--r--lib/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php
index e57abd9..2ff13a1 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -25,7 +25,7 @@
// Roundcube Framework constants
define('FILE_API_START', microtime(true));
-define('RCUBE_INSTALL_PATH', realpath(dirname(__FILE__)) . '/../');
+define('RCUBE_INSTALL_PATH', realpath(__DIR__) . '/../');
define('RCUBE_CONFIG_DIR', RCUBE_INSTALL_PATH . 'config/');
define('RCUBE_PLUGINS_DIR', RCUBE_INSTALL_PATH . 'lib/drivers/kolab/plugins');