| Server IP : 89.163.231.150 / Your IP : 216.73.217.139 Web Server : Apache System : Linux srv01 5.10.0-39-amd64 #1 SMP Debian 5.10.251-1 (2026-03-09) x86_64 User : pme-gmbh ( 10002) PHP Version : 8.2.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pme-gmbh.ch/httpdocs/wp-content/plugins/convertplug/ |
Upload File : |
<?php
/**
* Prohibit direct script loading.
*
* @package Convert_Plus.
*/
defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
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
}
}