diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-10-13 14:41:55 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-10-13 14:41:55 +0200 |
commit | 0ea079d604ef1f34cc47646ab23176a3c66f16ee (patch) | |
tree | f32d974513f62e11e50c5ef7c5e8b2b24164ddf2 /bin/msgimport.sh | |
parent | 94791f6fd5a0e742cda92c73bfb16fda00761850 (diff) |
dirname(__FILE__) -> __DIR__
Diffstat (limited to 'bin/msgimport.sh')
-rwxr-xr-x | bin/msgimport.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/msgimport.sh b/bin/msgimport.sh index 1fcc34680..0c72622c4 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'; |