From: <var...@us...> - 2012-11-17 19:24:08
|
Revision: 8485 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8485&view=rev Author: vargenau Date: 2012-11-17 19:24:01 +0000 (Sat, 17 Nov 2012) Log Message: ----------- ASCIIMathPHP-2.0.cfg.php --> ASCIIMathPHP.cfg.php Modified Paths: -------------- trunk/lib/plugin/AsciiMath.php Modified: trunk/lib/plugin/AsciiMath.php =================================================================== --- trunk/lib/plugin/AsciiMath.php 2012-11-17 19:11:14 UTC (rev 8484) +++ trunk/lib/plugin/AsciiMath.php 2012-11-17 19:24:01 UTC (rev 8485) @@ -68,11 +68,7 @@ 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()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |