From 0ea079d604ef1f34cc47646ab23176a3c66f16ee Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 13 Oct 2014 08:41:55 -0400 Subject: [PATCH] dirname(__FILE__) -> __DIR__ --- bin/msgimport.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/msgimport.sh b/bin/msgimport.sh index 1fcc346..0c72622 100755 --- a/bin/msgimport.sh +++ b/bin/msgimport.sh @@ -1,7 +1,7 @@ #!/usr/bin/env php <?php -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); ini_set('memory_limit', -1); require_once INSTALL_PATH.'program/include/clisetup.php'; -- Gitblit v1.9.1