issues
This commit is contained in:
@@ -186,7 +186,7 @@ class PhpMailController extends Controller
|
||||
'port' => $mail->sending_port,
|
||||
'security' => $mail->sending_encryption,
|
||||
'username' => $mail->email_address,
|
||||
'password' => $mail->password,
|
||||
'password' => $mail->getRawOriginal()['password'],
|
||||
];
|
||||
if (!$this->commonMailer->setSmtpDriver($config)) {
|
||||
\Log::info('Invaid configuration :- '.$config);
|
||||
|
||||
@@ -25,6 +25,7 @@ class SyncFaveoToLatestVersion extends Controller
|
||||
if (version_compare($latestVersion, $olderVersion) == 1) {
|
||||
$this->updateToLatestVersion($olderVersion);
|
||||
}
|
||||
Artisan::call('storage:link');
|
||||
System::first()->update(['version' => Config::get('app.version')]);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,8 +47,8 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
}
|
||||
if (!$pic && $value) {
|
||||
$pic = '';
|
||||
$file = asset('uploads/profilepic/'.$value);
|
||||
if ($file) {
|
||||
$file = public_path('uploads/profilepic/'.$value);
|
||||
if ($file && file_exists($file)) {
|
||||
$type = pathinfo($file, PATHINFO_EXTENSION);
|
||||
$data = file_get_contents($file);
|
||||
$pic = 'data:image/'.$type.';base64,'.base64_encode($data);
|
||||
|
||||
Reference in New Issue
Block a user