Empty commit

This commit is contained in:
Git 2011-09-23 08:00:11 +00:00
parent effab9c158
commit 1e5c96d0bf
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@
// Image proxy CTs // Image proxy CTs
if(check_perms('site_proxy_images') && !empty($UserTitle)) { if(check_perms('site_proxy_images') && !empty($UserTitle)) {
$UserTitle = preg_replace_callback('~src=("?)(.+?)(["\s>])~', function($Matches) { $UserTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) {
return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3];
}, $UserTitle); }, $UserTitle);
} }

View File

@ -114,7 +114,7 @@
// Image proxy CTs // Image proxy CTs
$DisplayCustomTitle = $CustomTitle; $DisplayCustomTitle = $CustomTitle;
if(check_perms('site_proxy_images') && !empty($CustomTitle)) { if(check_perms('site_proxy_images') && !empty($CustomTitle)) {
$DisplayCustomTitle = preg_replace_callback('~src=("?)(.+?)(["\s>])~', function($Matches) { $DisplayCustomTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) {
return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3];
}, $CustomTitle); }, $CustomTitle);
} }