7 . PATH_SEPARATOR . get_include_path()
11 $file = str_replace(array('\\', '_'), '/', $class) . '.php';
12 if (stream_resolve_include_path($file)) {
17 require_once __DIR__ . '/../data/config.default.php';
18 if (file_exists(__DIR__ . '/../data/config.php')) {
19 require_once __DIR__ . '/../data/config.php';
21 if ($GLOBALS['phorkie']['cfg']['setupcheck']) {
25 $r = new Database_Adapter_Elasticsearch_HTTPRequest(
26 $GLOBALS['phorkie']['cfg']['elasticsearch'] . 'repo/_search',
27 \HTTP_Request2::METHOD_GET
34 'query' => (object)array(
35 'bool' => (object)array(
38 'query_string' => (object)array(
43 'has_child' => (object)array(
45 'query' => (object)array(
46 'query_string' => (object)array(
59 echo $res->getBody() . "\n";