uawdijnntqw1x1x1
IP : 18.191.171.121
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
core
/
.
/
vendor
/
ezyang
/
htmlpurifier
/
library
/
HTMLPurifier.kses.php
/
/
<?php /** * @file * Emulation layer for code that used kses(), substituting in HTML Purifier. */ require_once dirname(__FILE__) . '/HTMLPurifier.auto.php'; function kses($string, $allowed_html, $allowed_protocols = null) { $config = HTMLPurifier_Config::createDefault(); $allowed_elements = array(); $allowed_attributes = array(); foreach ($allowed_html as $element => $attributes) { $allowed_elements[$element] = true; foreach ($attributes as $attribute => $x) { $allowed_attributes["$element.$attribute"] = true; } } $config->set('HTML.AllowedElements', $allowed_elements); $config->set('HTML.AllowedAttributes', $allowed_attributes); if ($allowed_protocols !== null) { $config->set('URI.AllowedSchemes', $allowed_protocols); } $purifier = new HTMLPurifier($config); return $purifier->purify($string); } // vim: et sw=4 sts=4
/home/jackpotjunglegam/public_html/core/./vendor/ezyang/htmlpurifier/library/HTMLPurifier.kses.php