forked from Cavemanon/cavepaintings
speed hax and niceurl forcing from r34
This commit is contained in:
@ -500,9 +500,12 @@ class Image {
|
||||
$tmpl = str_replace('$filename', $_escape($base_fname), $tmpl);
|
||||
$tmpl = str_replace('$title', $_escape($config->get_string("title")), $tmpl);
|
||||
|
||||
$plte = new ParseLinkTemplateEvent($tmpl, $this);
|
||||
send_event($plte);
|
||||
$tmpl = $plte->link;
|
||||
// nothing seems to use this, sending the event out to 50 exts is a lot of overhead
|
||||
if(!SPEED_HAX) {
|
||||
$plte = new ParseLinkTemplateEvent($tmpl, $this);
|
||||
send_event($plte);
|
||||
$tmpl = $plte->link;
|
||||
}
|
||||
|
||||
return $tmpl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user