diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cleandb.sh | 2 | ||||
-rwxr-xr-x | bin/decrypt.sh | 2 | ||||
-rwxr-xr-x | bin/deluser.sh | 2 | ||||
-rwxr-xr-x | bin/dumpschema.sh | 2 | ||||
-rwxr-xr-x | bin/exportgettext.sh | 2 | ||||
-rwxr-xr-x | bin/gc.sh | 2 | ||||
-rwxr-xr-x | bin/importgettext.sh | 2 | ||||
-rwxr-xr-x | bin/indexcontacts.sh | 2 | ||||
-rwxr-xr-x | bin/installto.sh | 2 | ||||
-rwxr-xr-x | bin/moduserprefs.sh | 2 | ||||
-rwxr-xr-x | bin/msgexport.sh | 2 | ||||
-rwxr-xr-x | bin/msgimport.sh | 2 | ||||
-rwxr-xr-x | bin/update.sh | 2 | ||||
-rwxr-xr-x | bin/updatecss.sh | 2 | ||||
-rwxr-xr-x | bin/updatedb.sh | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/bin/cleandb.sh b/bin/cleandb.sh index 9edfeec91..d811c8d01 100755 --- a/bin/cleandb.sh +++ b/bin/cleandb.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; diff --git a/bin/decrypt.sh b/bin/decrypt.sh index 7f83f3a7f..dd4525972 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -52,7 +52,7 @@ * - you are dealing with counterfeit header data. */ -define('INSTALL_PATH', realpath(dirname(__FILE__).'/..') . '/'); +define('INSTALL_PATH', realpath(__DIR__ .'/..') . '/'); require INSTALL_PATH . 'program/include/clisetup.php'; diff --git a/bin/deluser.sh b/bin/deluser.sh index 0489f4da4..1e93793cf 100755 --- a/bin/deluser.sh +++ b/bin/deluser.sh @@ -20,7 +20,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; diff --git a/bin/dumpschema.sh b/bin/dumpschema.sh index 6d5cde723..32c90ac13 100755 --- a/bin/dumpschema.sh +++ b/bin/dumpschema.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; diff --git a/bin/exportgettext.sh b/bin/exportgettext.sh index b220b2242..314cae7d2 100755 --- a/bin/exportgettext.sh +++ b/bin/exportgettext.sh @@ -15,7 +15,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; if ($argc < 2) { @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; diff --git a/bin/importgettext.sh b/bin/importgettext.sh index 285f5680f..5a91e6bc1 100755 --- a/bin/importgettext.sh +++ b/bin/importgettext.sh @@ -15,7 +15,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; if ($argc < 2) { diff --git a/bin/indexcontacts.sh b/bin/indexcontacts.sh index 9509dc06a..2844742f7 100755 --- a/bin/indexcontacts.sh +++ b/bin/indexcontacts.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH.'program/include/clisetup.php'; ini_set('memory_limit', -1); diff --git a/bin/installto.sh b/bin/installto.sh index fbd951bdf..d239c633d 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; diff --git a/bin/moduserprefs.sh b/bin/moduserprefs.sh index e892b1f4d..3d46baaa4 100755 --- a/bin/moduserprefs.sh +++ b/bin/moduserprefs.sh @@ -18,7 +18,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH.'program/include/clisetup.php'; diff --git a/bin/msgexport.sh b/bin/msgexport.sh index f68688b67..f76aefe86 100755 --- a/bin/msgexport.sh +++ b/bin/msgexport.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'; 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'; diff --git a/bin/update.sh b/bin/update.sh index f0c6d2f6c..cbacb940a 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; diff --git a/bin/updatecss.sh b/bin/updatecss.sh index 53d237c77..6ecfeac98 100755 --- a/bin/updatecss.sh +++ b/bin/updatecss.sh @@ -18,7 +18,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; diff --git a/bin/updatedb.sh b/bin/updatedb.sh index e9818074d..ffeac0ba8 100755 --- a/bin/updatedb.sh +++ b/bin/updatedb.sh @@ -19,7 +19,7 @@ +-----------------------------------------------------------------------+ */ -define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); +define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); require_once INSTALL_PATH . 'program/include/clisetup.php'; |