HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wordpress/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( 'Cheatin\' uh?' );

$currentDir = dirname( __FILE__ );

// Define namespace and plugin name
define( '_HMWP_NAMESPACE_', 'HMWP' );
define( '_HMWP_PLUGIN_AUTHOR_NAME_', 'Hide My 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() ) ) ? true : false ) );

/**
 * 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_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/' );