*
* @param boolean $event_history Store a history of all events.
*
* @return object XPSPL\Processor
*/
public static final function init($event_history = true)
{
if (null === static::$_instance) {
static::$_instance = new self($event_history);
}
return static::$_instance;
}
/**
* Returns the current version of XPSPL.
*
* @return string
*/
public static final function version()
{
return XPSPL_VERSION;
}
}
/**
* Thats right ... that says global.
*/
global $XPSPL;
/**
* Start the processor VROOOOOOM!
*/
$XPSPL = XPSPL::init(XPSPL_SIGNAL_HISTORY);