ftimme
2012-06-11 6db27748d01ef709bf61a35314a56c565545bb7f
interface/web/sites/aps_cron_apscrawler_if.php
@@ -32,6 +32,9 @@
//require_once('classes/class.crawler.php');
$app->load('aps_crawler');
if(!@ini_get('allow_url_fopen')) $app->error('allow_url_fopen is not enabled.');
if(!function_exists('curl_version')) $app->error('The PHP CURL extension is not available.');
$log_prefix = 'APS crawler cron: ';
$aps = new ApsCrawler($app, true); // true = Interface mode, false = Server mode