Re: [phplib-users] proper way to run several instances of a phplib-app
Brought to you by:
nhruby,
richardarcher
|
From: Marko K. <mk...@mc...> - 2006-10-05 15:45:25
|
> switch ($_SERVER['HTTP_HOST']) {
> include_once($_SERVER['DOCUMENT_ROOT'] .
well, this is an idea!
Perhaps I could simply create several symbolic links to the real
application source in the document root directory and direct the browsers
to the wanted symbolic link. Then I could search in
$_SERVER['DOCUMENT_ROOT'] and find out which local.inc I should use.
Sounds good!
Thanks for this idea!
Regards,
Marko
|