feat: 에디터 이미지 업로드 R2 훅 추가
- cheditor5, smarteditor2 에디터 이미지 업로드 지원 - get_editor_upload_url 훅을 통한 R2 스토리지 연동 - 업로드 성공 시 로컬 파일 자동 삭제 - Presigned URL 생성으로 보안 접근 제공 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,9 +12,9 @@ if (!defined('_GNUBOARD_')) exit;
|
||||
// Cloudflare R2 Credentials
|
||||
// ============================================
|
||||
// Cloudflare Dashboard > R2 > Manage R2 API Tokens 에서 생성
|
||||
define('R2_ACCOUNT_ID', 'your_account_id_here');
|
||||
define('R2_ACCESS_KEY_ID', 'your_access_key_id_here');
|
||||
define('R2_SECRET_ACCESS_KEY', 'your_secret_access_key_here');
|
||||
define('R2_ACCOUNT_ID', 'd8e5997eb4040f8b489f09095c0f623c');
|
||||
define('R2_ACCESS_KEY_ID', 'b4a23ea18a1e766d9d9af87898c03bfd');
|
||||
define('R2_SECRET_ACCESS_KEY', 'cf3fbe8533553aafbc26a98110a9138e49d16e0d64322b322290b5f606678567');
|
||||
|
||||
// ============================================
|
||||
// Bucket Settings
|
||||
|
||||
Reference in New Issue
Block a user