mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-14 10:43:56 -04:00
fixed import_items.csv template download path
This commit is contained in:
@@ -564,7 +564,8 @@ class Items extends Secure_Controller
|
||||
public function excel()
|
||||
{
|
||||
$name = 'import_items.csv';
|
||||
$data = file_get_contents($name);
|
||||
$dir = '..';
|
||||
$data = file_get_contents($dir . '/' . $name);
|
||||
force_download($name, $data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user