mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Removed debug line
This commit is contained in:
parent
03c5a42f5a
commit
dfb9e430fa
|
@ -422,7 +422,6 @@ class SettingsController extends Controller
|
||||||
$image = $request->file('logo');
|
$image = $request->file('logo');
|
||||||
$ext = $image->getClientOriginalExtension();
|
$ext = $image->getClientOriginalExtension();
|
||||||
$setting->logo = $file_name = $filedate.'-logo.' . $ext;
|
$setting->logo = $file_name = $filedate.'-logo.' . $ext;
|
||||||
\Log::debug('Uploading new logo to '.print_r(Storage::disk('public'), true));
|
|
||||||
|
|
||||||
if ('svg' != $image->getClientOriginalExtension()) {
|
if ('svg' != $image->getClientOriginalExtension()) {
|
||||||
$upload = Image::make($image->getRealPath())->resize(null, 150, function ($constraint) {
|
$upload = Image::make($image->getRealPath())->resize(null, 150, function ($constraint) {
|
||||||
|
|
Loading…
Reference in a new issue