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