Here are three more tweaks for PhpDig v.1.8.6. The first is to correct a bug when doing eregi_replace to prevent mismatched types. The second stems from
this thread. The third is to remove some hardcoded text.
In limit_upd.php find:
PHP Code:
$site_cron = eregi_replace('DAY',$days,$tpl_cron);
$site_cron = eregi_replace('URL',$url,$site_cron);
And replace with:
PHP Code:
$site_cron = eregi_replace("DAY","$days",$tpl_cron);
$site_cron = eregi_replace("URL","$url",$site_cron);
In spider.php find:
PHP Code:
if (!phpdigReadRobots($exclude,$temp_path) && !eregi(FORBIDDEN_EXTENSIONS,$temp_file)) {
$result_test_http = phpdigTestUrl($url_indexing,'date',$cookies);
}
And replace with:
PHP Code:
if (!phpdigReadRobots($exclude,$temp_path.$temp_file) && !eregi(FORBIDDEN_EXTENSIONS,$temp_path.$temp_file)) {
$result_test_http = phpdigTestUrl($url_indexing,'date',$cookies);
}
In stop_spider.php find two instances of:
PHP Code:
echo "Wait... ";
And replace both instances with:
PHP Code:
echo phpdigMsg('wait');
If you downloaded PhpDig v.1.8.6
after the date of this post, the changes in this post have already been applied to the package.