cfoe
2012-07-07 b5715fb4a82d6494e6fba5ffcc1b0af3c9d2421c
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