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);
|
||||
|
@@ -543,7 +543,7 @@ Route::middleware('web')->group(function () {
|
||||
Route::post('/ticket/close/{id}', [Agent\helpdesk\TicketController::class, 'close'])->name('ticket.close'); /* Get Ticket Close */
|
||||
Route::post('/ticket/resolve/{id}', [Agent\helpdesk\TicketController::class, 'resolve'])->name('ticket.resolve'); /* Get ticket Resolve */
|
||||
Route::post('/ticket/open/{id}', [Agent\helpdesk\TicketController::class, 'open'])->name('ticket.open'); /* Get Ticket Open */
|
||||
Route::get('image/{id}', [Agent\helpdesk\MailController::class, 'get_data'])->name('image'); /* get image */
|
||||
Route::get('image/{id?}', [Agent\helpdesk\MailController::class, 'get_data'])->name('image'); /* get image */
|
||||
Route::post('rating/{id}', [Agent\helpdesk\TicketController::class, 'rating'])->name('ticket.rating'); /* Get overall Ratings */
|
||||
Route::post('rating2/{id}', [Agent\helpdesk\TicketController::class, 'ratingReply'])->name('ticket.rating2'); /* Get reply Ratings */
|
||||
});
|
||||
|
Reference in New Issue
Block a user