[pmwiki-users] MarkupExpressionsExtensions

The Editor editor at fast.st
Tue Apr 17 03:33:36 CDT 2007


On 4/17/07, Petko Yotov <5ko at free.fr> wrote:
> On Tuesday 17 April 2007 10:16, Hans wrote:
> > > It is not safe because if the expression is not mathematically correct,
> > > it will however try to execute it, and this will result in a Fatal Error.
> >
> > Thank you! This is useful. So I cannot use math functions with this
> > math extension? Just the simplest of arithmetic?
>
> Yes you can as long as you write it correctly.
>
> > And how safe are the other components of the package? Since it is
> > usually installed as a package all functions are available for users.
>
> I cannot tell you this, currently I do not need it and will not examine /
> install it on a production site. But you can always disable this one function
> by adding (after you included the script):
>   unset($MarkupExpr['math']);
>
> Petko


Or simply cut and paste the functions you need to your own config,
which is how it was really designed to be used. It's just a collection
of more or less freestanding functions and definitions.

Cheers,
Dan



More information about the pmwiki-users mailing list