PDA

View Full Version : phpdig search results turbo


tomas
02-09-2004, 02:58 PM
hello charter,

a little idea making phpdig a bit faster:

config.php - line 292:
if (!headers_sent()) {
ob_start("ob_gzhandler");
header('Content-type:text/html; Charset='.PHPDIG_ENCODING);
}

what do you think about a variable-switch in config-file ???


kind regards
tomas

Charter
02-11-2004, 09:31 PM
Hi. The function requires certain settings in php.ini that may not be accessible to every user. While the same could be said of safe_mode, the function is probably best used by those who know how to use it. ;)