From 0b4c1cbba4111e124ce037e7ae9448e2de3bbc0b Mon Sep 17 00:00:00 2001 From: vargenau Date: Sat, 17 Nov 2012 19:24:01 +0000 Subject: [PATCH] ASCIIMathPHP-2.0.cfg.php --> ASCIIMathPHP.cfg.php git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8485 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/AsciiMath.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/plugin/AsciiMath.php b/lib/plugin/AsciiMath.php index afe4c2fb6..dc62ed44a 100644 --- a/lib/plugin/AsciiMath.php +++ b/lib/plugin/AsciiMath.php @@ -68,11 +68,7 @@ class WikiPlugin_AsciiMath return HTML::div(array('class' => "error"), "Please provide a formula to AsciiMath plugin"); } - if (phpversion() >= '5') { - include 'lib/ASCIIMathPHP/ASCIIMathPHP-2.0.cfg.php'; - } else { - include 'lib/ASCIIMathPHP/ASCIIMathPHP.cfg.php'; - } + include 'lib/ASCIIMathPHP/ASCIIMathPHP.cfg.php'; $ascii_math = new ASCIIMathPHP($symbol_arr, $this->source); $ascii_math->genMathML(); return HTML::raw($ascii_math->getMathML()); -- 2.45.0