!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/Composer/   drwxr-xr-x
Free 292.94 GB of 429.69 GB (68.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Package.php (2.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Returns information about the package and handles init.
 */

/**
 * This namespace isn't compatible with the PSR-4
 * which ensures that the copy in the standalone plugin will not be autoloaded.
 */
namespace Automattic\Kkart\Admin\Composer;

defined'ABSPATH' ) || exit;

use 
Automattic\Kkart\Admin\Notes\DeactivatePlugin;
use 
Automattic\Kkart\Admin\FeaturePlugin;

/**
 * Main package class.
 */
class Package {

    
/**
     * Version.
     *
     * @var string
     */
    
const VERSION '1.7.3';

    
/**
     * Package active.
     *
     * @var bool
     */
    
private static $package_active false;

    
/**
     * Active version
     *
     * @var bool
     */
    
private static $active_version null;

    
/**
     * Init the package.
     *
     * Only initialize for WP 5.3 or greater.
     */
    
public static function init() {
        
// Avoid double initialization when the feature plugin is in use.
        
if ( defined'KKART_ADMIN_VERSION_NUMBER' ) ) {
            
self::$active_version KKART_ADMIN_VERSION_NUMBER;
            
$update_version       = new DeactivatePlugin();
            if ( 
version_compareKKART_ADMIN_VERSION_NUMBERself::VERSION'<' ) ) {
                if ( 
method_exists$update_version'possibly_add_note' ) ) {
                    
$update_version::possibly_add_note();
                }
            } else {
                
$update_version::delete_note();
            }

            
// Register a deactivation hook for the feature plugin.
            
register_deactivation_hookKKART_ADMIN_PLUGIN_FILE, array( __CLASS__'on_deactivation' ) );

            return;
        }

        
$feature_plugin_instance FeaturePlugin::instance();
        
$satisfied_dependencies  is_callable( array( $feature_plugin_instance'has_satisfied_dependencies' ) ) && $feature_plugin_instance->has_satisfied_dependencies();
        if ( ! 
$satisfied_dependencies ) {
            return;
        }

        
// Indicate to the feature plugin that the core package exists.
        
if ( ! defined'KKART_ADMIN_PACKAGE_EXISTS' ) ) {
            
define'KKART_ADMIN_PACKAGE_EXISTS'true );
        }

        
self::$package_active true;
        
self::$active_version self::VERSION;
        
$feature_plugin_instance->init();

        
// Unhook the custom Action Scheduler data store class in active older versions of KKART Admin.
        
remove_filter'action_scheduler_store_class', array( $feature_plugin_instance'replace_actionscheduler_store_class' ) );
    }

    
/**
     * Return the version of the package.
     *
     * @return string
     */
    
public static function get_version() {
        return 
self::VERSION;
    }

    
/**
     * Return the active version of KKART Admin.
     *
     * @return string
     */
    
public static function get_active_version() {
        return 
self::$active_version;
    }

    
/**
     * Return whether the package is active.
     *
     * @return bool
     */
    
public static function is_package_active() {
        return 
self::$package_active;
    }

    
/**
     * Return the path to the package.
     *
     * @return string
     */
    
public static function get_path() {
        return 
dirname__DIR__ );
    }

    
/**
     * Add deactivation hook for versions of the plugin that don't have the deactivation note.
     */
    
public static function on_deactivation() {
        
$update_version = new DeactivatePlugin();
        
$update_version::delete_note();
    }
}

:: 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.0037 ]--