Fix whitespace

This commit is contained in:
Jakub Vrana 2018-01-22 13:51:47 +01:00
parent 48ed20323f
commit 923c0ffc87
13 changed files with 18 additions and 18 deletions

View file

@ -17,7 +17,7 @@ if (isset($_GET["elastic"])) {
*/
function rootQuery($path, $content = array(), $method = 'GET') {
@ini_set('track_errors', 1); // @ - may be disabled
$file = @file_get_contents($this->_url . '/' . ltrim($path, '/'), false, stream_context_create(array('http' => array(
$file = @file_get_contents("$this->_url/" . ltrim($path, '/'), false, stream_context_create(array('http' => array(
'method' => $method,
'content' => $content === null ? $content : json_encode($content),
'header' => 'Content-Type: application/json',