2014-08-08から1日間の記事一覧
確信はない。以下の様にファイルのダウンロードアクションを作成した。 function download($id = null){ $file = $this->File->findById($id); $this->response->file(APP.'upload_files'.DS.$file['File']['name']); return $this->response; } すると、sql…
確信はない。以下の様にファイルのダウンロードアクションを作成した。 function download($id = null){ $file = $this->File->findById($id); $this->response->file(APP.'upload_files'.DS.$file['File']['name']); return $this->response; } すると、sql…