mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-21 20:59:02 +00:00
Empty commit
This commit is contained in:
parent
effab9c158
commit
1e5c96d0bf
@ -337,7 +337,7 @@
|
||||
|
||||
// Image proxy CTs
|
||||
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];
|
||||
}, $UserTitle);
|
||||
}
|
||||
|
@ -114,7 +114,7 @@
|
||||
// Image proxy CTs
|
||||
$DisplayCustomTitle = $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];
|
||||
}, $CustomTitle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user