X7ROOT File Manager
Current Path:
/home/notabjze/usahomesolar.org/wp-content/plugins/litespeed-cache/src
home
/
notabjze
/
usahomesolar.org
/
wp-content
/
plugins
/
litespeed-cache
/
src
/
ðŸ“
..
📄
activation.cls.php
(14.9 KB)
📄
admin-display.cls.php
(35.39 KB)
📄
admin-settings.cls.php
(10.03 KB)
📄
admin.cls.php
(4.44 KB)
📄
api.cls.php
(11.08 KB)
📄
avatar.cls.php
(6.07 KB)
📄
base.cls.php
(30.61 KB)
ðŸ“
cdn
📄
cdn.cls.php
(13.18 KB)
📄
cloud.cls.php
(52.42 KB)
📄
conf.cls.php
(17.39 KB)
📄
control.cls.php
(21.63 KB)
📄
core.cls.php
(19.83 KB)
📄
crawler-map.cls.php
(14.66 KB)
📄
crawler.cls.php
(40.64 KB)
📄
css.cls.php
(15.14 KB)
📄
data.cls.php
(17.61 KB)
📄
data.upgrade.func.php
(23.11 KB)
ðŸ“
data_structure
📄
db-optm.cls.php
(9.82 KB)
📄
debug2.cls.php
(13.08 KB)
📄
doc.cls.php
(4.73 KB)
📄
error.cls.php
(6.89 KB)
📄
esi.cls.php
(26.94 KB)
📄
file.cls.php
(10.46 KB)
📄
gui.cls.php
(27.47 KB)
📄
health.cls.php
(2.89 KB)
📄
htaccess.cls.php
(24.16 KB)
📄
img-optm.cls.php
(64.1 KB)
📄
import.cls.php
(4.15 KB)
📄
import.preset.cls.php
(5.43 KB)
📄
lang.cls.php
(14.89 KB)
📄
localization.cls.php
(3.39 KB)
📄
media.cls.php
(32.7 KB)
📄
metabox.cls.php
(4.21 KB)
📄
object-cache.cls.php
(15.84 KB)
📄
object.lib.php
(33.97 KB)
📄
optimize.cls.php
(36.96 KB)
📄
optimizer.cls.php
(9.4 KB)
📄
placeholder.cls.php
(14.09 KB)
📄
purge.cls.php
(30.49 KB)
📄
report.cls.php
(6.14 KB)
📄
rest.cls.php
(7.45 KB)
📄
root.cls.php
(12.78 KB)
📄
router.cls.php
(19.51 KB)
📄
str.cls.php
(2.37 KB)
📄
tag.cls.php
(8.9 KB)
📄
task.cls.php
(5.92 KB)
📄
tool.cls.php
(3.42 KB)
📄
ucss.cls.php
(14.17 KB)
📄
utility.cls.php
(20.67 KB)
📄
vary.cls.php
(20.09 KB)
📄
vpi.cls.php
(7.19 KB)
Editing: str.cls.php
<?php /** * LiteSpeed String Operator Library Class * * @since 1.3 */ namespace LiteSpeed; defined('WPINC') || exit(); class Str { /** * Translate QC HTML links from html. Convert `<a href="{#xxx#}">xxxx</a>` to `<a href="xxx">xxxx</a>` * * @since 7.0 */ public static function translate_qc_apis($html) { preg_match_all('/<a href="{#(\w+)#}"/U', $html, $matches); if (!$matches) { return $html; } foreach ($matches[0] as $k => $html_to_be_replaced) { $link = '<a href="' . Utility::build_url(Router::ACTION_CLOUD, Cloud::TYPE_API, false, null, array('action2' => $matches[1][$k])) . '"'; $html = str_replace($html_to_be_replaced, $link, $html); } return $html; } /** * Return safe HTML * * @since 7.0 */ public static function safe_html($html) { $common_attrs = array( 'style' => array(), 'class' => array(), 'target' => array(), 'src' => array(), 'color' => array(), 'href' => array(), ); $tags = array('hr', 'h3', 'h4', 'h5', 'ul', 'li', 'br', 'strong', 'p', 'span', 'img', 'a', 'div', 'font'); $allowed_tags = array(); foreach ($tags as $tag) { $allowed_tags[$tag] = $common_attrs; } return wp_kses($html, $allowed_tags); } /** * Generate random string * * @since 1.3 * @access public * @param int $len Length of string * @param int $type 1-Number 2-LowerChar 4-UpperChar * @return string */ public static function rrand($len, $type = 7) { switch ($type) { case 0: $charlist = '012'; break; case 1: $charlist = '0123456789'; break; case 2: $charlist = 'abcdefghijklmnopqrstuvwxyz'; break; case 3: $charlist = '0123456789abcdefghijklmnopqrstuvwxyz'; break; case 4: $charlist = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 5: $charlist = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 6: $charlist = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 7: $charlist = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; } $str = ''; $max = strlen($charlist) - 1; for ($i = 0; $i < $len; $i++) { $str .= $charlist[random_int(0, $max)]; } return $str; } /** * Trim double quotes from a string to be used as a preformatted src in HTML. * @since 6.5.3 */ public static function trim_quotes($string) { return str_replace('"', '', $string); } }
Upload File
Create Folder