locale 위치 변경

This commit is contained in:
2018-06-15 03:19:40 +09:00
parent a264842bd9
commit 2b466afc88
+2 -2
View File
@@ -2,11 +2,11 @@
namespace sammo\img_service;
include(__DIR__.'/gogs_key.php');
setlocale(LC_ALL, 'ko_KR.UTF-8');
include(__DIR__.'/gogs_key.php');
$raw_payload = $_POST['payload']??'false';
$valid_hmac = $_SERVER['HTTP_X_GOGS_SIGNATURE']??'';
$req_hmac = hash_hmac('sha256', $raw_payload, Key::KEY);