Use PHP 5.3 functions

This commit is contained in:
Jakub Vrana
2025-03-05 15:45:37 +01:00
parent 0bf8861dd1
commit c873ceba17
4 changed files with 5 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ if (isset($_GET["elastic5"])) {
'method' => $method,
'content' => $content !== null ? json_encode($content) : $content,
'header' => $content !== null ? 'Content-Type: application/json' : array(),
'ignore_errors' => 1, // available since PHP 5.2.10
'ignore_errors' => 1,
'follow_location' => 0,
'max_redirects' => 0,
))));