ok
Direktori : /home2/selectio/www/fms-worksuite/app/View/Components/ |
Current File : //home2/selectio/www/fms-worksuite/app/View/Components/Auth.php |
<?php namespace App\View\Components; use App\Models\Company; use App\Models\GlobalSetting; use App\Models\LanguageSetting; use App\Models\User; use Illuminate\Support\Facades\App; use Illuminate\View\Component; class Auth extends Component { /** * Create a new component instance. * * @return void */ public function __construct() { // } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|string */ public function render() { $globalSetting = global_setting(); $languages = language_setting(); $appTheme = $globalSetting; App::setLocale(session('locale') ?? $globalSetting->locale); return view('components.auth', ['globalSetting' => $globalSetting, 'appTheme' => $appTheme, 'languages' => $languages]); } }