> >> Does all code has to be defined within Midgard objects (i.e.
> >> snippets) to be able to call mgd_xxx functions?
> > Exactly :-)
>
> This is not true.
>
> You can include() anything from the filesystem as long as you are only
> using real Midgard API functions. The only problem is with
> preparser-handled stuff: mainly <[elements]>, &(variables), and
> mgd_include_snippet. If your filesystem-based code includes those
> things, you can use
>
> eval('?>' . mgd_preparse(file_get_contents($file)) . '<?');
My fault :-)
Solt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]