3
1
Back

False); class _comics extends Plugin { function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); /* 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"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array Panels/Font files/Quentincaps.ttf | Bin 0 -> 11692 bytes 3D Printing/Panels/image.png | Bin 0 -> 12821 bytes .../COLOR SPRAY.png | Bin 0 -> 46787 bytes Datasheets/tl074.pdf | Bin 77965 -> 0 bytes c58f541d7e Upload files to 'Panels' From e49f4ab127dc081ee1c77dd21e80d128628a1152 Mon Sep.

New Pull Request