3
1
Back

*/ /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } else { return $base.$rel; if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } function hook_render_article($article) { return $article; } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // Order of the Software. THE SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY.

New Pull Request