UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_d58663ed250d
/
app
/
Http
/
Controllers
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
WelcomeController.php
<?php namespace EstudioLMS\Http\Controllers; use Artesaos\SEOTools\Traits\SEOTools as SEOToolsTrait; use EstudioLMS\Events\StudentInteractedWithTicket; use EstudioLMS\Events\TicketNotification; use EstudioLMS\Helpers\ConfigurationsHelper; use EstudioLMS\Services\Admin\ConfigurationServices; use Illuminate\Http\Response; use mjanssen\BreadcrumbsBundle\Breadcrumbs; use SEO; /** * Class WelcomeController * @package EstudioLMS\Http\Controllers */ class WelcomeController extends Controller { use SEOToolsTrait; /** * @var Breadcrumbs */ private $breadcrumbs; /** * @var ConfigurationsHelper */ private $helper; /** * @var ConfigurationServices */ private $configurationServices; /** * Create a new controller instance. * * @param Breadcrumbs $breadcrumbs * @param ConfigurationsHelper $helper * @param ConfigurationServices $configurationServices */ public function __construct( Breadcrumbs $breadcrumbs, ConfigurationsHelper $helper, ConfigurationServices $configurationServices ) { $this->breadcrumbs = $breadcrumbs; $this->helper = $helper; $this->configurationServices = $configurationServices; } /** * Show the application welcome screen to the user. * * @return Response */ public function index() { $config = $this->configurationServices->configuration(); SEO::setTitle($config['site_name']); SEO::setDescription($config['site_name']); SEO::opengraph()->setTitle($config['site_name']); SEO::opengraph()->setDescription($config['site_name']); SEO::opengraph()->setUrl('/'); SEO::opengraph()->addProperty('type', 'blog'); SEO::opengraph()->addProperty('locale', 'pt-br'); SEO::opengraph()->addProperty('locale:alternate', ['pt-pt', 'en-us']); SEO::opengraph()->addImage(url('/assets/images/site/logotipo.png')); SEO::twitter()->setSite('@Acadtech'); $this->breadcrumbs->addBreadcrumb('home', '/'); $bread = $this->breadcrumbs->generate(); if ($config['normal_site'] == true) { return view('site.home', compact('bread')); } else { return view('ambiente.login_page'); } } public function infophp() { return phpinfo(); } }
Copyright © 2026 - UnknownSec