3
1
Back

$host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "" . $msg . ""; } if ($rel[0] == '#' || $rel[0] == '?') { return $base.$rel; if ($rel[0] == '/') { } /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) .

New Pull Request