From 14b48d55991f6e31438774baa045cd7ee41bb563 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 12 Nov 2009 09:30:41 +0000 Subject: [PATCH] fixed? --- core/imageboard.pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index fca5740d..20438b83 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -451,9 +451,9 @@ class Image { $base_fname = strpos($fname, '.') ? substr($fname, 0, strrpos($fname, '.')) : $fname; $tmpl = str_replace('$id', $this->id, $tmpl); - $tmpl = str_replace('$hash', $this->hash, $tmpl); $tmpl = str_replace('$hash_ab', substr($this->hash, 0, 2), $tmpl); $tmpl = str_replace('$hash_cd', substr($this->hash, 2, 2), $tmpl); + $tmpl = str_replace('$hash', $this->hash, $tmpl); $tmpl = str_replace('$tags', $_escape($tags), $tmpl); $tmpl = str_replace('$base', $base_href, $tmpl); $tmpl = str_replace('$ext', $this->ext, $tmpl);