<?php
chdir(dirname(__FILE__)."/../");
define("BASEPATH", true);
include 'config.inc.php';
$sysConfig = __getConfig();
$base_url = $sysConfig['base_url'] . $sysConfig['index_postfix'];
// create a new cURL resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $base_url . 'cron/start');
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
// grab URL and pass it to the browser
curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
?>