diff --git a/images/photobucket.png b/images/photobucket.png new file mode 100644 index 0000000..b761da7 Binary files /dev/null and b/images/photobucket.png differ diff --git a/lib/function.php b/lib/function.php index 10c45ae..dced7a0 100644 --- a/lib/function.php +++ b/lib/function.php @@ -1277,6 +1277,9 @@ function dofilters($p){ $p=str_replace("-->", '-->', $p); } + $p=preg_replace("'(https?://.*\.?photobucket.com/)'si",'images/photobucket.png#\\1',$p); + + $p=str_replace("http://insectduel.proboards82.com","http://jul.rustedlogic.net/idiotredir.php?",$p); // $p=str_replace("http://imageshack.us", "imageshit", $p); $p=preg_replace("'http://.{0,3}\.?tinypic\.com'si",'tinyshit',$p); @@ -1614,5 +1617,3 @@ function ircerrors($type, $msg, $file, $line, $context) { " $typetext: ".xk()."($errorlocation) $msg"); return true; } - -