3
1
Back

> 0; $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } /* absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function hook_render_article_cdm($article) { function rel2abs($rel, $base) { if ($rel[0] == '/') { $path = ''; function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } Binary files /dev/null and b/Panels/FireballSpellVertSmall.png differ Binary files /dev/null and b/Panels/Font files/Futura XBlk BT.ttf | Bin 0 -> 12097777 bytes Examples/precadsr.pdf | Bin 0 -> 110393 bytes Images/PXL_20210831_000949090.jpg | Bin 0 -> 12724 bytes .../Panels/POLYMORPH.png | Bin 0 -> 461484 bytes Panels/title_test_36.stl | Bin 0 -> 16561 bytes.

New Pull Request