One Hat Cyber Team
Your IP :
52.15.199.160
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
centos12
/
www
/
centosuit
/
app
/
View
/
Components
/
View File Name :
Auth.php
<?php namespace App\View\Components; use App\Models\GlobalSetting; use Illuminate\Contracts\View\View; 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 View|string */ public function render() { // WORKSUITESAAS if (module_enabled('Subdomain')) { $company = getCompanyBySubDomain(); $globalSetting = $company ?? GlobalSetting::first(); } else { $globalSetting = global_setting(); } $languages = language_setting(); $appTheme = $globalSetting; App::setLocale(session('locale') ?? $globalSetting->locale); return view('components.auth', ['globalSetting' => $globalSetting, 'appTheme' => $appTheme, 'languages' => $languages]); } }