Robin Jackson wrote:
> <?
> $file = readfile($midgard->uri);
> eval($file);
> ?>
>
> This would work (less overhead if you just include the file, as I have
> another table that tells me the base directory for the users' files)
> but....ROOT never gets evaluated if the page name is not in the Midgard DB
> (as per Frank's input).
if you create a host with an active root page, the ROOT element will get
evaluated within this root page.
It's up to you to put the code to include the right file name according
to the $argv values.
--
Best Regards,
David Guerizec Free Software Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]