summaryrefslogtreecommitdiff
path: root/bin/cleandb.sh
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-13 14:41:55 +0200
committerAleksander Machniak <alec@alec.pl>2014-10-13 14:41:55 +0200
commit0ea079d604ef1f34cc47646ab23176a3c66f16ee (patch)
treef32d974513f62e11e50c5ef7c5e8b2b24164ddf2 /bin/cleandb.sh
parent94791f6fd5a0e742cda92c73bfb16fda00761850 (diff)
dirname(__FILE__) -> __DIR__
Diffstat (limited to 'bin/cleandb.sh')
-rwxr-xr-xbin/cleandb.sh2
1 files changed, 1 insertions, 1 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';