Skip to content

Commit

Permalink
Log - bugfix. Zmiana kodowania na Win
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukegpl committed Mar 27, 2018
1 parent a1d6698 commit 8af41ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
if(isset($json_request['data'])){
$json_response['data'] = $json_request['data'];
}
Logger::getInstance()->log('api_error',Helper::toUtf8($e->getMessage()),$e->getFile(),$e->getLine());
Logger::getInstance()->log('api_error',Helper::toWin($e->getMessage()),$e->getFile(),$e->getLine());
}

$json_string = json_encode($json_response,JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
Expand Down

0 comments on commit 8af41ce

Please sign in to comment.