forked from devsam/image
locale 위치 변경
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user