<?
$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).
AFAIK, the call to mgd_get_midgard punts back to apache and we never get to
the point where I could mock up the Midgard object (or record as the case
might be) to the known host, style, admin info, etc..
If I could change midgard-root.php to do a psuedo mgd_get_midgard, and load
the information by hand (including pointing to a MOCK page that does the
routines above if the page is not in the DB) then I'd be in good shape.
What is the mgd_get_midgard structure (anyone), couldn't I just declare a
new instance of it and then populate it apporopriately (for non-DB'ed
pages)?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]