Ferenc Engard wrote:

> As I am writing my site, I write my snippets in the file system, and
> when everything is cute, then I copy them into midgard. I am searching a
> condition that can tell me whether I run in a midgard virtualhost or
> not. The function_exists('mgd_get_midgard') is not good, as the function
> _does_ exists in both cases (the apache server is the same).

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?

Emile



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

Reply via email to