aboutsummaryrefslogtreecommitdiff
path: root/bin/setup.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-03 22:37:15 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-03 22:37:15 +0100
commitf156497be5637d7815ae57370e8b175ce6960a19 (patch)
tree6363a52913e006e90b223f17f6aa39206f153ffd /bin/setup.php
parent915b66fe6ca517610a41acec0a71597e7cee0807 (diff)
downloadphinde-f156497be5637d7815ae57370e8b175ce6960a19.tar.gz
phinde-f156497be5637d7815ae57370e8b175ce6960a19.zip
fix indexing, boost config
Diffstat (limited to 'bin/setup.php')
-rwxr-xr-xbin/setup.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/setup.php b/bin/setup.php
index 7dacedd..1e6c66d 100755
--- a/bin/setup.php
+++ b/bin/setup.php
@@ -2,10 +2,7 @@
<?php
namespace phinde;
//configure the elasticsearch index
-set_include_path(__DIR__ . '/../src/' . PATH_SEPARATOR . get_include_path());
-require_once __DIR__ . '/../data/config.php';
-require_once 'HTTP/Request2.php';
-require_once 'Elasticsearch/Request.php';
+require_once __DIR__ . '/../src/init.php';
//delete old index
$r = new Elasticsearch_Request(