Added 3rd party KH modules
This commit is contained in:
22
modules/cron/run.php
Normal file
22
modules/cron/run.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Cron
|
||||
*
|
||||
* @author Chris Bandy
|
||||
* @copyright (c) 2010 Chris Bandy
|
||||
* @license http://www.opensource.org/licenses/isc-license.txt
|
||||
*/
|
||||
|
||||
// Path to Kohana's index.php
|
||||
$system = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'index.php';
|
||||
|
||||
if (file_exists($system))
|
||||
{
|
||||
defined('SUPPRESS_REQUEST') or define('SUPPRESS_REQUEST', TRUE);
|
||||
|
||||
include $system;
|
||||
|
||||
// If Cron has been run in APPPATH/bootstrap.php, this second call is harmless
|
||||
Cron::run();
|
||||
}
|
Reference in New Issue
Block a user