Skip to content

Instantly share code, notes, and snippets.

@imarklee
Created March 11, 2014 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imarklee/9481889 to your computer and use it in GitHub Desktop.
Save imarklee/9481889 to your computer and use it in GitHub Desktop.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining ess…
// Dispatch emails if necessary
if( $config->get( 'email.pageload' ) )
{
$cron = Foundry::cron();
$cron->dispatchEmails();
}
// Process cron service here.
if( JRequest::getBool( 'cron' ) == true )
{
$cron = Foundry::cron( );
$cron->execute();
exit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment