From: Brion Vibber Date: Wed, 26 Nov 2008 02:37:07 +0000 (+0000) Subject: fix regression from r43965 -- forgot the .png extension from math URLs, which works... X-Git-Tag: 1.31.0-rc.0~44198 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=0c38e6e3c12a29e2a3529817f7bfd71be1dcf48b;p=lhc%2Fweb%2Fwiklou.git fix regression from r43965 -- forgot the .png extension from math URLs, which works on my apache install but not on the live upload server :P --- diff --git a/includes/Math.php b/includes/Math.php index 0bc24bc9c0..2ed1603376 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -300,7 +300,7 @@ class MathRenderer { function _mathImageUrl() { global $wgMathPath; $dir = $this->_getHashSubPath(); - return "$wgMathPath/$dir/$this->hash"; + return "$wgMathPath/$dir/{$this->hash}.png"; } function _getHashPath() {