Esempio n. 1
0
 function serverInformation()
 {
     @ob_start();
     MainWP_Child_Server_Information::render();
     $output['information'] = @ob_get_contents();
     @ob_end_clean();
     @ob_start();
     MainWP_Child_Server_Information::renderCron();
     $output['cron'] = @ob_get_contents();
     @ob_end_clean();
     @ob_start();
     MainWP_Child_Server_Information::renderErrorLogPage();
     $output['error'] = @ob_get_contents();
     @ob_end_clean();
     @ob_start();
     MainWP_Child_Server_Information::renderWPConfig();
     $output['wpconfig'] = @ob_get_contents();
     @ob_end_clean();
     @ob_start();
     MainWP_Child_Server_Information::renderhtaccess();
     $output['htaccess'] = @ob_get_contents();
     @ob_end_clean();
     MainWP_Helper::write($output);
 }
    public static function renderPage()
    {
        ?>
		<div class="wrap">
			<h2><?php 
        esc_html_e('Plugin Conflicts');
        ?>
</h2>
			<br/><?php 
        MainWP_Child_Server_Information::renderConflicts();
        ?>
<h2><?php 
        esc_html_e('Server Information');
        ?>
</h2><?php 
        MainWP_Child_Server_Information::render();
        ?>
<h2><?php 
        esc_html_e('Cron Schedules');
        ?>
</h2><?php 
        MainWP_Child_Server_Information::renderCron();
        ?>
<h2><?php 
        esc_html_e('Error Log');
        ?>
</h2><?php 
        MainWP_Child_Server_Information::renderErrorLogPage();
        ?>
		</div>
		<?php 
    }