update version 1.0.2.1
This commit is contained in:
@@ -78,7 +78,7 @@ class SettingsController extends Controller {
|
||||
$companys = $company->whereId('1')->first();
|
||||
if (Input::file('logo')) {
|
||||
$name = Input::file('logo')->getClientOriginalName();
|
||||
$destinationPath = 'dist';
|
||||
$destinationPath = 'lb-faveo/dist/';
|
||||
$fileName = rand(0000, 9999) . '.' . $name;
|
||||
Input::file('logo')->move($destinationPath, $fileName);
|
||||
$companys->logo = $fileName;
|
||||
|
Reference in New Issue
Block a user