diff --git a/egbim/bbs/descope_qa_write.php b/egbim/bbs/descope_qa_write.php index 6b0a84f..bd74e73 100644 --- a/egbim/bbs/descope_qa_write.php +++ b/egbim/bbs/descope_qa_write.php @@ -65,7 +65,7 @@ if ($isEdit) { function handle_file_uploads(PDO $pdo, int $postId, array &$errors) { if (empty($_FILES['attach']['name'][0])) return; - $uploadDir = dirname(__DIR__) . '/uploads/qa'; + $uploadDir = dirname(__DIR__) . '/uploads/qa/'; if (!is_dir($uploadDir)) { if (!mkdir($uploadDir, 0777, true) && !is_dir($uploadDir)) { $errors[] = '업로드 폴더를 생성할 수 없습니다.'; diff --git a/eng/bbs/descope_qa_write.php b/eng/bbs/descope_qa_write.php index 1da475a..cbcef20 100644 --- a/eng/bbs/descope_qa_write.php +++ b/eng/bbs/descope_qa_write.php @@ -65,7 +65,7 @@ if ($isEdit) { function handle_file_uploads(PDO $pdo, int $postId, array &$errors) { if (empty($_FILES['attach']['name'][0])) return; - $uploadDir = dirname(__DIR__) . '/uploads/qa'; + $uploadDir = dirname(__DIR__) . '/uploads/qa/'; if (!is_dir($uploadDir)) { if (!mkdir($uploadDir, 0777, true) && !is_dir($uploadDir)) { $errors[] = 'Upload folder could not be created.';