|
|
@ -295,7 +295,7 @@ class Vendor_money extends CI_Controller {
|
|
|
|
if ( ! is_dir($config['upload_path'])) {
|
|
|
|
if ( ! is_dir($config['upload_path'])) {
|
|
|
|
mkdir($config['upload_path'], 0777, true);
|
|
|
|
mkdir($config['upload_path'], 0777, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$config['allowed_types'] = 'xls|xlsx';
|
|
|
|
$config['allowed_types'] = '*';
|
|
|
|
$config['max_size'] = 0;
|
|
|
|
$config['max_size'] = 0;
|
|
|
|
$this->load->library('upload', $config);
|
|
|
|
$this->load->library('upload', $config);
|
|
|
|
if ( ! $this->upload->do_upload('upload_cost'))
|
|
|
|
if ( ! $this->upload->do_upload('upload_cost'))
|
|
|
|