Location: PHPKode > scripts > Strictly System Check > strictly-system-check/strictly-system-check-report.php
<?php

/* 
this is the file that is called to carry out the actual report on your site.
A cron job should be setup on your server to request this page at timed intervals throughout the day.
If you don't have access to your server use one of the many free webcron services available on the web

As the whole point of this plugin is to test whether the wordpress system is running correctly no wordpress
include files are referenced. Not only will this reduce the load at potentially stressful times it means only
the code that is required is loaded in.
*/

require_once(str_replace("\\","/",dirname(__FILE__) . "/strictly-system-check.class.php"));
require_once(str_replace("\\","/",dirname(__FILE__) . "/strictly-system-check-funcs.php"));

//error_reporting(E_ALL);
//error_reporting(0);

if(!defined('DEBUGSYSCHECK')){
	define('DEBUGSYSCHECK',false);
}

$StrictlySystemCheck = StrictlySystemCheck::GetInstance();
	
// load in config and check the cron code is correct
if(! $StrictlySystemCheck->LoadPluginConfig()){
	die;
}

// get the cron code
if(!defined('SDB_CRONCODE')){
	die;
}


if(isset($_REQUEST['code']) && $_REQUEST['code'] == SDB_CRONCODE){

	$StrictlySystemCheck->CheckSite();

}


/*
 * as I am not loading in any Wordpress files (the site might be down) then I require the following function to output text
 *
 */
function __( $text, $domain = 'default' ) {
	return $text; // all english I'm afraid!
}
Return current item: Strictly System Check