feat: 그누보드5 R2 스토리지 확장 모듈 초기 설정

- Docker 개발 환경 구성 (nginx, php, mariadb)
- 그누보드 기본 extend 파일들 추가
- R2 파일 목록 확인 스크립트 추가
- .gitignore 설정 (gnuboard 코어, 테스트 파일 제외)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-01-10 20:09:12 +09:00
parent 218c7cb334
commit f1c46be7b6
14 changed files with 464 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
add_event('tail_sub', 'show_debug_bar');
function show_debug_bar() {
global $g5, $g5_debug, $is_admin;
if( ! get_permission_debug_show() ) return;
if ( !($is_admin === 'super' && !is_mobile() ) ){
return;
}
$memory_usage = function_exists( 'memory_get_peak_usage' ) ? memory_get_peak_usage() : memory_get_usage();
$php_run_time = (isset($g5_debug['php']) && isset($g5_debug['php']['begin_time'])) ? ( get_microtime() - $g5_debug['php']['begin_time'] ) : 0;
include_once( G5_PLUGIN_PATH.'/debugbar/debugbar.php' );
}