From 0ea079d604ef1f34cc47646ab23176a3c66f16ee Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 13 Oct 2014 14:41:55 +0200 Subject: dirname(__FILE__) -> __DIR__ --- installer/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/index.php') diff --git a/installer/index.php b/installer/index.php index b93ad2f94..61ff40076 100644 --- a/installer/index.php +++ b/installer/index.php @@ -39,7 +39,7 @@ ini_set('error_reporting', E_ALL &~ (E_NOTICE | E_STRICT)); ini_set('display_errors', 1); -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/../').'/'); +define('INSTALL_PATH', realpath(__DIR__ . '/../').'/'); define('RCUBE_INSTALL_PATH', INSTALL_PATH); define('RCUBE_CONFIG_DIR', INSTALL_PATH . 'config/'); -- cgit v1.2.3