From e057f44293a2eedf6bee0f0716edee93e88d7b2e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Apr 2021 16:15:15 +0200 Subject: [PATCH] Typo --- htdocs/api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/api/index.php b/htdocs/api/index.php index 89b5a696462..b4016af109a 100644 --- a/htdocs/api/index.php +++ b/htdocs/api/index.php @@ -314,7 +314,7 @@ if (!empty($reg[1]) && ($reg[1] != 'explorer' || ($reg[2] != '/swagger.json' && //var_dump($api->r->apiVersionMap); //exit; -// We do not want that restler output data if we use native compression (default behaviour) but we want to have it returned into a string. +// We do not want that restler outputs data if we use native compression (default behaviour) but we want to have it returned into a string. Luracast\Restler\Defaults::$returnResponse = (empty($conf->global->API_DISABLE_COMPRESSION) && !empty($_SERVER['HTTP_ACCEPT_ENCODING'])); // Call API (we suppose we found it).