From: alex b. <en...@tu...> - 2001-05-23 16:37:12
|
> What would happen if you wanted a central install of BC to run more than > one site? How would you tell it which binarycloud.php to include? It doesn't have to. If you're running, for example, a bunch of virtualhosts, the path to binarycloud is set relative to the _virtualhosts_ document root, which means you are using different binarycloud installs for each vHost. > Also, is there any other permissible way of doing this - I could set up r1 > on free web hosts because I could use an .htaccess, but I don't think the > above is supported, at least not with safe_mode enabled :-( first: you are welcome to just prepend this: <? define('BC_PATH','/path/to/binarycloud'); ?> which will do the same job. _but_ I would check to make absolutely sure that you can't do it with the include, because it's really convenient to be able to run that with (x) virtualhosts. _alex |