mirror of
https://github.com/e107inc/e107.git
synced 2025-10-12 13:34:39 +02:00
Thumb query path updates
This commit is contained in:
@@ -72,7 +72,7 @@ if($_POST['mode'] == 'tobbcode')
|
||||
if(check_class($pref['post_html'])) // Plain HTML mode.
|
||||
{
|
||||
$srch = array('src="'.e_HTTP.'thumb.php?','src="/{e_MEDIA_IMAGE}');
|
||||
$repl = array('src="{e_BASE}thumb.php?','src="{e_BASE}thumb.php?src={e_MEDIA_IMAGE}');
|
||||
$repl = array('src="{e_BASE}thumb.php?','src="{e_BASE}thumb.php?src=e_MEDIA_IMAGE/');
|
||||
|
||||
$content = str_replace($srch, $repl, $content);
|
||||
|
||||
|
Reference in New Issue
Block a user