Commit 183457ce authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Include get_dataroot_image_path function before calling it during html export


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 395a6ba9
......@@ -519,6 +519,7 @@ class HtmlExportOutputFilter {
);
// Thumbnails
require_once('file.php');
$html = preg_replace_callback(
'#(' . preg_quote(get_config('wwwroot')) . ')?/?thumb\.php\?type=([a-z]+)((&amp;[a-z]+=[x0-9]+)+)*#',
array($this, 'replace_thumbnail_link'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment