HEX
Server: LiteSpeed
System: Linux s1.hostssdserver.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: dreamlan (1220)
PHP: 8.3.32
Disabled: exec,system,passthru,shell_exec,proc_open,popen,apache_child_terminate
Upload Files
File: /home/dreamlan/public_html/wp-content/plugins/theme-editor/includes/forms/ms_child_style.php
<?php if ( !defined( 'ABSPATH' ) ) exit;
$ctd = $this->ms_theme_directory( 'child' );
$ctpd = $this->ms_theme_directory( 'parnt' );
$child_style_dir = get_theme_root().'/'.$ctd.'/style.css'; 
$myfile = fopen($child_style_dir, "r");
$myfile_data =fread($myfile,filesize($child_style_dir));
?>
<div class="ms_childStyleWrap">
	<div class="childStyleEditor">
		<textarea id="ms_child_style" name="ms_child_style" class="ms_child_style" wrap="off" readonly><?php echo $myfile_data; fclose($myfile);?></textarea>
	</div>
</div>