Location: PHPKode > scripts > Simple Debug > simple-debug/plugin-loader.php
<?php
/*
Plugin Name: Simple Debug
Plugin URI: http://MyWebsiteAdvisor.com/tools/wordpress-plugins/simple-debug/
Description: Simple Debug Plugin, You can analyze your WordPress Website to locate any slow functions, plugins or themes.
Version: 1.4.5
Author: MyWebsiteAdvisor
Author URI: http://MyWebsiteAdvisor.com
*/

session_start();

register_activation_hook(__FILE__, 'simple_debug_activate');

function simple_debug_activate() {

	// display error message to users
	if ($_GET['action'] == 'error_scrape') {                                                                                                   
		die("Sorry, Simple Debug Plugin requires PHP 5.3 or higher. Please deactivate Simple Debug Plugin.");                                 
	}

	if ( version_compare( phpversion(), '5.3', '<' ) ) {
		trigger_error('', E_USER_ERROR);
	}
}

// require simple debug Plugin if PHP 5.3 installed
if ( version_compare( phpversion(), '5.3', '>=') ) {
	define('SD_LOADER', __FILE__);
	
	//require_once(dirname(__FILE__) . '/plugin-resources.class.php');
	require_once(dirname(__FILE__) . '/simple-debug-log-manager.class.php');
	require_once(dirname(__FILE__) . '/debug-log-table.class.php');
	require_once(dirname(__FILE__) . '/simple-debug.php');
	require_once(dirname(__FILE__) . '/plugin-admin.php');
	
	$simple_debug = new Simple_Debug_Admin();

}
?>
Return current item: Simple Debug