Skip to content

Commit

Permalink
v 0.5.3 r1
Browse files Browse the repository at this point in the history
파일 다운로드 관련 네이밍 일부 변경
  • Loading branch information
Prev committed Oct 28, 2013
1 parent 366a728 commit d5b6e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/board/BoardFileDownController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class BoardFileDownController extends FileDownController {

public function procDownloadFile() {
$data = $this->model->getFileUrl($_GET['file'], $_GET['article_no']);
$data = $this->model->getFileData($_GET['file'], $_GET['article_no']);
if (!$data) {
echo 'Invalid file';
return;
Expand Down
2 changes: 1 addition & 1 deletion modules/board/BoardFileDownModel.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class BoardFileDownModel extends Model {

public function getFileUrl($fileHash, $articleNo=NULL) {
public function getFileData($fileHash, $articleNo=NULL) {
$row = DBHandler::for_table('files')
->select_many('files.*', 'article_files.file_name')
->join('article_files', array(
Expand Down

0 comments on commit d5b6e3b

Please sign in to comment.