Commit 4db8b46e by Jansa Jose

change set upload option

parent 43837e3f
...@@ -11,7 +11,7 @@ function set_doctor_image($path) { ...@@ -11,7 +11,7 @@ function set_doctor_image($path) {
function set_upload_options($path) { function set_upload_options($path) {
$config = array(); $config = array();
$config['upload_path'] = $path; $config['upload_path'] = $path;
$config['allowed_types'] = 'gif|jpg|png'; $config['allowed_types'] = 'jpeg|jpg|png';
$config['max_size'] = '0'; $config['max_size'] = '0';
$config['overwrite'] = FALSE; $config['overwrite'] = FALSE;
return $config; return $config;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment