芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/app/Http/Middleware/Customer.php
user_type != 'customer') { if (!$request->ajax()) { return back()->with('error', _lang('Permission denied !')); } else { return new Response('
' . _lang('Permission denied !') . '
'); } } if (get_option('mobile_verification') == 'enabled' && Auth::User()->sms_verified_at == null) { return redirect()->route('profile.mobile_verification'); } return $next($request); } }