오류 수정

This commit is contained in:
2026-02-11 21:51:10 +09:00
parent b0e7cf0df0
commit 99a072f732
5 changed files with 80 additions and 20 deletions

View File

@@ -84,7 +84,7 @@ defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automa
*/
// 환경별 버킷 설정
$environment = getenv('CI_ENVIRONMENT') ?: 'production';
// log_message('info', 'Current environment: ' . $environment);
if ($environment === 'development') {
define('NCLOUD_S3_BUCKET', 'confirms-object-test');
define('NCLOUD_OBJECT_STORAGE_URL', 'https://kr.object.ncloudstorage.com/confirms-object-test');
@@ -93,6 +93,7 @@ if ($environment === 'development') {
define('NCLOUD_OBJECT_STORAGE_URL', 'https://kr.object.ncloudstorage.com/confirms-object');
}
define('NCLOUD_S3_KEY', 'ncp_iam_BPAMKR3l50hXJiQ6qpSP');
define('NCLOUD_S3_SECRET', 'ncp_iam_BPKMKRW2GU59UE59I1QftVGst6NJgnmbSc');
define('NCLOUD_S3_ENDPOINT', 'https://kr.object.ncloudstorage.com');
// .env 파일에서 NCLOUD 설정 읽기
define('NCLOUD_S3_KEY', getenv('ncloud.s3.key') ?: 'ncp_iam_BPAMKR3l50hXJiQ6qpSP');
define('NCLOUD_S3_SECRET', getenv('ncloud.s3.secret') ?: 'ncp_iam_BPKMKRW2GU59UE59I1QftVGst6NJgnmbSc');
define('NCLOUD_S3_ENDPOINT', getenv('ncloud.s3.endpoint') ?: 'https://kr.object.ncloudstorage.com');