This commit is contained in:
Shish 2009-11-12 09:27:09 +00:00
parent 0c7c90f2cd
commit b428a56e5f

View file

@ -452,8 +452,8 @@ class Image {
$tmpl = str_replace('$id', $this->id, $tmpl);
$tmpl = str_replace('$hash', $this->hash, $tmpl);
$tmpl = str_replace('$hash_ab', substr($hash, 0, 2), $tmpl);
$tmpl = str_replace('$hash_cd', substr($hash, 2, 2), $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('$tags', $_escape($tags), $tmpl);
$tmpl = str_replace('$base', $base_href, $tmpl);
$tmpl = str_replace('$ext', $this->ext, $tmpl);