HEX
Server: LiteSpeed
System: Linux srv158.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: u1694298 (3732)
PHP: 7.4.33
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: /home/u1694298/www/wp-content/plugins/hide-my-wp/config/paths.php
<?php
/**
 * Definition of all the paths from the plugin
 *
 * @file The paths configuration file
 *
 * @package HMWP\Paths
 */

defined( 'ABSPATH' ) || die( 'Cheating uh?' );

$currentDir = dirname( __FILE__ );

define( '_HMWP_NAMESPACE_', 'HMWP' );
define( '_HMWP_PLUGIN_AUTHOR_NAME_', 'WP Ghost' );
define( '_HMWP_PLUGIN_FULL_NAME_', 'WP Ghost' );
define( '_HMWP_ACCOUNT_SITE_', 'https://account.wpghost.com' );
define( '_HMWP_API_SITE_', _HMWP_ACCOUNT_SITE_ );
define( '_HMWP_CHECK_SSL_', ( isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] === "on" ) || ( defined( 'FORCE_SSL_ADMIN' ) && FORCE_SSL_ADMIN ) || ( function_exists( 'is_ssl' ) && is_ssl() ) );

/**
 * Directories
 */
define( '_HMWP_ROOT_DIR_', realpath( $currentDir . '/..' ) );
define( '_HMWP_CONFIG_DIR_', ( defined( '_HMWP_CONFIGPATH' ) ? _HMWP_CONFIGPATH : false ) );
define( '_HMWP_CLASSES_DIR_', _HMWP_ROOT_DIR_ . '/classes/' );
define( '_HMWP_CONTROLLER_DIR_', _HMWP_ROOT_DIR_ . '/controllers/' );
define( '_HMWP_MODEL_DIR_', _HMWP_ROOT_DIR_ . '/models/' );
define( '_HMWP_TRANSLATIONS_DIR_', _HMWP_ROOT_DIR_ . '/languages/' );
define( '_HMWP_THEME_DIR_', _HMWP_ROOT_DIR_ . '/view/' );
define( '_HMWP_ASSETS_DIR_', _HMWP_THEME_DIR_ . 'assets/' );

/**
 * URLS paths
 */
define( '_HMWP_URL_', plugins_url() . '/' . plugin_basename( _HMWP_ROOT_DIR_ ) );
define( '_HMWP_THEME_URL_', _HMWP_URL_ . '/view/' );
define( '_HMWP_ASSETS_URL_', _HMWP_THEME_URL_ . 'assets/' );
define( '_HMWP_WPLOGIN_URL_', _HMWP_THEME_URL_ . 'wplogin/' );