Commit 4db8b46e by Jansa Jose

change set upload option

parent 43837e3f
......@@ -11,7 +11,7 @@ function set_doctor_image($path) {
function set_upload_options($path) {
$config = array();
$config['upload_path'] = $path;
$config['allowed_types'] = 'gif|jpg|png';
$config['allowed_types'] = 'jpeg|jpg|png';
$config['max_size'] = '0';
$config['overwrite'] = FALSE;
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