diff --git a/application/controllers/Customers.php b/application/controllers/Customers.php index 13686d24d..f4f310500 100644 --- a/application/controllers/Customers.php +++ b/application/controllers/Customers.php @@ -158,7 +158,8 @@ class Customers extends Persons public function excel() { $name = 'import_customers.csv'; - $data = file_get_contents($name); + $dir = '..'; + $data = file_get_contents($dir . '/' . $name); force_download($name, $data); }