diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-05-07 20:36:13 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-05-07 20:36:13 +0200 |
| commit | 3c83676016bce1727f0046f4aad7865be8a71fd4 (patch) | |
| tree | 28a95cdfa56776e454b42ba3126ab54db9806b49 /scripts/search.php | |
| parent | 637ede8759615e1aac86af232f5c053389eb37b7 (diff) | |
| download | phorkie-3c83676016bce1727f0046f4aad7865be8a71fd4.tar.gz phorkie-3c83676016bce1727f0046f4aad7865be8a71fd4.zip | |
use httprequest wrapper to automatically check for errors
Diffstat (limited to 'scripts/search.php')
| -rw-r--r-- | scripts/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/search.php b/scripts/search.php index f9688bb..4de514f 100644 --- a/scripts/search.php +++ b/scripts/search.php @@ -24,7 +24,7 @@ if ($GLOBALS['phorkie']['cfg']['setupcheck']) { SetupCheck::run(); } -$r = new \HTTP_Request2( +$r = new Database_Adapter_Elasticsearch_HTTPRequest( $GLOBALS['phorkie']['cfg']['elasticsearch'] . 'repo/_search', \HTTP_Request2::METHOD_GET ); |
