fix indexing, boost config
[phinde.git] / bin / setup.php
index 7dacedd08b63b2551e3b79a48375d69d39635c9a..1e6c66db73ba558fd96eb530086f771f3a66db75 100755 (executable)
@@ -2,10 +2,7 @@
 <?php
 namespace phinde;
 //configure the elasticsearch index
 <?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(
 
 //delete old index
 $r = new Elasticsearch_Request(