Remove unwanted log
This commit is contained in:
@@ -6,8 +6,6 @@ include("server.includes.inc.php");
|
||||
|
||||
if(\Classes\SettingsManager::getInstance()->getSetting('Api: REST Api Enabled') == '1') {
|
||||
|
||||
\Utils\LogManager::getInstance()->info("Request: " . $_REQUEST);
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
|
||||
http_response_code(200);
|
||||
exit();
|
||||
@@ -38,4 +36,4 @@ if(\Classes\SettingsManager::getInstance()->getSetting('Api: REST Api Enabled')
|
||||
|
||||
}else{
|
||||
echo "REST Api is not enabled. Please set 'Api: REST Api Enabled' setting to true";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user