v-technologies/simpl-es — pull request #6 by noneym (2014-05-01 23:37:21+00:00)
Title: Update Http.php

if i use this line,script Not Working

// Check if it's an ES server
//if ($this->config('check')) {
//	$res = $this->call('/') ;
//	if (!isset($res)) {
//	throw new Simples_Transport_Exception('Invalid JSON or empty response') ;
//	}
//	if (!isset($res['ok']) || (isset($res['ok']) && $res['ok'] !== true)) {
//	throw new Simples_Transport_Exception('Bad response from ElasticSearch server. Are you sure you\'re calling the good guy ?') ;
//	}
//}