Actions
Bug #1131
closedstr_split function missing in squidGuard
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/24/2010
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
squidGuard gives errors under pfSense 1.2.3 because php4 does not provide the str_split function required by squidGuard. This issue is discussed in detail here
http://forum.pfsense.org/index.php/topic,31171.0.html
the following fix is suggested
add the following to the bottom of squidGuard.inc
if(!function_exists('str_split')) {
function str_split($string, $split_length = 1) {
$array = explode("\r\n", chunk_split($string, $split_length));
array_pop($array);
return $array;
}
}
It would be nice if the package maintainer would do this to prevent problems for pfsense 1.2.3 users when they update the package.
Thanks,
--luis
Actions