我嘗試上傳的證書文件和失敗:CodeIgniter的文件上傳庫忽略allowed_types?
$config["allowed_types"] = "cer";
$this->load->library("upload", $config);
$this->upload->do_upload("fieldname");
我總是碰到下面的錯誤,即使我上傳.cer文件:
The filetype you are attempting to upload is not allowed
這是一個謊言,我上傳了允許類型的文件! 爲什麼這個班級忽略documented設置allowed_types?