From 3ae9062a8c9766f57e0c32471eea7dfc309553c7 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Mon, 26 Dec 2016 11:57:58 +0530 Subject: [PATCH] Bug-fix-patch # using correct directory seperator in language controller --- app/Http/Controllers/Admin/helpdesk/LanguageController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/helpdesk/LanguageController.php b/app/Http/Controllers/Admin/helpdesk/LanguageController.php index 91802568c..684f2c7d4 100644 --- a/app/Http/Controllers/Admin/helpdesk/LanguageController.php +++ b/app/Http/Controllers/Admin/helpdesk/LanguageController.php @@ -210,7 +210,8 @@ class LanguageController extends Controller */ public function download() { - $file_path = base_path('public/downloads/en.zip'); + $path = 'downloads'.DIRECTORY_SEPARATOR.'en.zip'; + $file_path = public_path($path); return response()->download($file_path); }