mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-06 08:11:12 -05:00
add file extension to company logo filename
This commit is contained in:
@@ -58,7 +58,7 @@ class Config extends Secure_area
|
||||
|
||||
if (!empty($upload_data['orig_name']))
|
||||
{
|
||||
$batch_save_data['company_logo'] = $upload_data['raw_name'];
|
||||
$batch_save_data['company_logo'] = $upload_data['raw_name'] . $upload_data['file_ext'];
|
||||
}
|
||||
|
||||
$result = $this->Appconfig->batch_save( $batch_save_data );
|
||||
|
||||
Reference in New Issue
Block a user