GRAYBYTE WORDPRESS FILE MANAGER3373

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/airlift/buffer/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/swamivivekananda.co.in/wp-content/plugins/airlift/buffer//helper.php
<?php

if (!class_exists('ALCacheHelper')) :

	class ALCacheHelper {

		// phpcs:disable WordPress.Security.NonceVerification.Recommended
		public static function getQueryParams() {
			if (!$_GET) {
				return array();
			}
			$params = $_GET;
			if ($params) {
				ksort($params);
			}
			return $params;
		}
		// phpcs:enable WordPress.Security.NonceVerification.Recommended

		public static function getRawRequestURI() {
			$request_uri = ALHelper::getRawParam('SERVER', 'REQUEST_URI');
			if (empty($request_uri)) {
				return '';
			}
			return '/' . ltrim($request_uri, '/');
		}

		public static function getRequestURIBase() {
			$request_uri = self::getRawRequestURI();
			if (empty($request_uri)) {
				return '';
			}
			$request_uri = explode('?', $request_uri);
			return reset($request_uri);
		}

		public static function getQueryString() {
			return http_build_query(self::getQueryParams());
		}

		public static function getCleanRequestURI() {
			$request_uri = self::getRequestURIBase();
			if (empty($request_uri)) {
				return '';
			}
			$query_string = self::getQueryString();
			if (empty($query_string)) {
				return $request_uri;
			}
			return $request_uri . '?' . $query_string;
		}

		public static function getCacheBasePath() {
			return WP_CONTENT_DIR . '/cache/airlift/';
		}

		public static function getRequestCachePath() {
			$host = ALHelper::getRawParam('SERVER', 'HTTP_HOST');
			$request_uri = self::getCleanRequestURI();
			return  self::getCacheBasePath() . $host . rtrim($request_uri, '/');
		}

		public static function randString($length) {
			$chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";

			$str = "";
			$size = strlen($chars);
			for( $i = 0; $i < $length; $i++ ) {
				$str .= $chars[rand(0, $size - 1)]; // phpcs:ignore WordPress.WP.AlternativeFunctions.rand_rand
			}
			return $str;
		}
	}
endif;

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:34
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:34
giriqfky / giriqfky
0644
cache.php
9.733 KB
June 23 2025 07:12:33
giriqfky / giriqfky
0644
helper.php
1.831 KB
June 23 2025 07:12:33
giriqfky / giriqfky
0644
optimizer.php
62.173 KB
June 23 2025 07:12:33
giriqfky / giriqfky
0644
third_party_caching.php
0.548 KB
June 23 2025 07:12:33
giriqfky / giriqfky
0644
validator.php
5.074 KB
June 23 2025 07:12:33
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF