Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 18.222.20.244 | Time @ Server : 19 Oct 2024 06:23:15
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/View/Page/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/View/Page/Title.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Page; use Magento\Framework\App; /** * Page title * * @api * @since 100.0.2 */ class Title { /** * Default title glue */ const TITLE_GLUE = ' / '; /** * @var \Magento\Framework\App\Config\ScopeConfigInterface */ private $scopeConfig; /** * @var string[] */ private $prependedValues = []; /** * @var string[] */ private $appendedValues = []; /** * @var string */ private $textValue; /** * @param App\Config\ScopeConfigInterface $scopeConfig */ public function __construct( App\Config\ScopeConfigInterface $scopeConfig ) { $this->scopeConfig = $scopeConfig; } /** * Set page title * * @param string $title * @return $this */ public function set($title) { $this->textValue = $title; return $this; } /** * Retrieve title element text (encoded) * * @return string */ public function get() { return join(self::TITLE_GLUE, $this->build()); } /** * Same as getTitle(), but return only first item from chunk * * @return mixed */ public function getShort() { $title = $this->build(); return reset($title); } /** * Same as getShort(), but return title without prefix and suffix * @return mixed */ public function getShortHeading() { $title = $this->build(false); return reset($title); } /** * @param bool $withConfigValues * @return array */ protected function build($withConfigValues = true) { return array_merge( $this->prependedValues, [$withConfigValues ? $this->addConfigValues($this->textValue) : $this->textValue], $this->appendedValues ); } /** * @param string $title * @return string */ protected function addConfigValues($title) { $preparedTitle = $this->scopeConfig->getValue( 'design/head/title_prefix', \Magento\Store\Model\ScopeInterface::SCOPE_STORE ) . ' ' . $title . ' ' . $this->scopeConfig->getValue( 'design/head/title_suffix', \Magento\Store\Model\ScopeInterface::SCOPE_STORE ); return trim($preparedTitle); } /** * Retrieve default title text * * @return string */ public function getDefault() { $defaultTitle = $this->scopeConfig->getValue( 'design/head/default_title', \Magento\Store\Model\ScopeInterface::SCOPE_STORE ); return $this->addConfigValues($defaultTitle); } /** * @param string $suffix * @return void */ public function append($suffix) { $this->appendedValues[] = $suffix; } /** * @param string $prefix * @return void */ public function prepend($prefix) { array_unshift($this->prependedValues, $prefix); } /** * Unset title * * @return void */ public function unsetValue() { $this->textValue = null; } }