[pmwiki-users] order of initializing

H. Fox haganfox at users.sourceforge.net
Mon Mar 10 15:56:59 CDT 2008


On Mon, Mar 10, 2008 at 9:04 AM, Peter & Melodye Bowers
<pbowers at pobox.com> wrote:
> I was trying to run a function (not just define it but actually run it) at
>  the time my recipe is being loaded via include_once() from config.php.  My
>  function required scripts/markupexpr.php to be loaded and apparently
>  config.php gets loaded ahead of that.

I don't know what effect it will have on the markup expressions script
to include() it from config.php, but I know Markup Expressions started
as a recipe.

Maybe try this:

   include_once(:$FarmD/scripts/markupexpr.php");
   <your recipe>

Hagan



More information about the pmwiki-users mailing list