| Server IP : 104.21.74.147 / Your IP : 216.73.217.154 Web Server : nginx/1.24.0 System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/rebeccaone.com/wp-content/plugins/convertplug/ |
Upload File : |
<?php
/**
* Prohibit direct script loading.
*
* @package Convert_Plus.
*/
defined( 'ABSPATH' ) || exit;
if ( isset( $_REQUEST['cp_admin_page_nonce'] ) && ! wp_verify_nonce( $_REQUEST['cp_admin_page_nonce'], 'cp_admin_page' ) ) {
wp_die( 'No direct script access allowed!' );
}
$module = isset( $_GET['module'] ) ? sanitize_text_field( $_GET['module'] ) : '';
$theme = isset( $_GET['theme'] ) ? esc_attr( $_GET['theme'] ) : '';
$class = isset( $_GET['class'] ) ? sanitize_text_field( $_GET['class'] ) : '';
if ( '' !== $module ) {
if ( file_exists( CP_BASE_DIR . '/modules/' . $module . '/functions/functions.options.php' ) ) {
// deepcode ignore FileInclusion: Sanitized above.
require_once CP_BASE_DIR . '/modules/' . basename( $module ) . '/functions/functions.options.php';
$settings = $class::$options;
foreach ( $settings as $style => $options ) {
if ( $style === $theme ) {
$demo_html = $options['demo_url'];
$demo_dir = $options['demo_dir'];
$customizer_js = $options['customizer_js'];
}
}
$post_content = Convert_Plug_Filesystem::prefix_get_filesystem()->get_contents( $demo_dir );
print_r( $post_content ); //phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r
}
}