aboutsummaryrefslogtreecommitdiff
path: root/bin/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setup.php')
-rwxr-xr-xbin/setup.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/setup.php b/bin/setup.php
index 1e6c66d..ca71aed 100755
--- a/bin/setup.php
+++ b/bin/setup.php
@@ -1,7 +1,10 @@
#!/usr/bin/env php
<?php
namespace phinde;
-//configure the elasticsearch index
+/**
+ * Configure the elasticsearch index.
+ * Throws away all data.
+ */
require_once __DIR__ . '/../src/init.php';
//delete old index