* @copyright Copyright (c) 2012-2015, Jean Galea. Adapted from Easy Digital Downloads by Pippin Williamson * @link http://www.wprssaggregator.com/ * @license http://www.gnu.org/licenses/gpl.html */ /** * Generate the system information * * @since 3.1 */ function wprss_system_info() { global $wpdb; ?>

### Begin System Info ### ## Please include this information when posting support requests ## Multi-site: SITE_URL: HOME_URL: Plugin Version: WordPress Version: PHP Version: MySQL Version: Web Server Info: PHP Safe Mode: PHP Memory Limit: PHP Post Max Size: PHP Time Limit: WP_DEBUG: WP Table Prefix: prefix ); echo " Status:"; if ( strlen( $wpdb->prefix )>16 ) {echo " ERROR: Too Long";} else {echo " Acceptable";} echo "\n"; ?> Show On Front: Page On Front: Page For Posts: Session: Session Name: Cookie Path: Save Path: Use Cookies: Use Only Cookies: UPLOAD_MAX_FILESIZE: POST_MAX_SIZE: WordPress Memory Limit: DISPLAY ERRORS: FSOCKOPEN: ACTIVE PLUGINS: $plugin ): // If the plugin isn't active, don't show it. if ( ! in_array( $plugin_path, $active_plugins ) ) { $inactive_plugins[] = $plugin; continue; } echo $plugin['Name']; ?>: NETWORK ACTIVE PLUGINS: DEACTIVATED PLUGINS: : CURRENT THEME: Name . ': ' . $theme_data->Version; } ?> ### End System Info ### server_info; return $result; } if ( function_exists( 'mysql_connect' ) ) { if ( $port ) $host = implode ( ':', array( $host, $port ) ); $mysql = mysql_connect( $host, $username, $password ); $result['extension'] = 'mysql'; $result['server_info'] = mysql_get_server_info( $mysql ); return $result; } return null; }