Emiliano wrote:
> You mean you want to check from the running script whether the page is
> being served from the database? Or whether the script runs under a
> virtualhost that is set up for Midgard requests?

The first. Or the second. :-) What is the difference? If in a
virtualhost, then it is served from db and vice versa, no?

Anyway, I am now using the 

(!function_exists("mgd_get_midgard") || mgd_get_midgard()==0)

condition to check it is _not_ running under midgard, and seems good.

Fery

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to