config.php
- how would you distinguish between two of them. Then you have the likes of the files, store, images folders. It could all probably be done but I suspect that it would require quite a lot of core code changes to achieve it.I doubt it.
Then the user database will be different..
And?
Conceptually what the OP want is impossible without changes to the config.php and changes in the pphBBcode (regarding which information should be used from which part of the new config.php.
Code: Select all
if ($server[request_uri] == 'my.test.domain') {
... set database connect to second domain
}
You would still need to handle the other "common" folders - cache, images etc.canonknipser wrote: ↑Tue Aug 20, 2019 12:12 pmI guess it is possible with small changes in config.php.
Just what came in my mind:
Different boards have different url
Check url if url is the second one (in rhis case from read-only board) after setting up the regular parameter,Code: Select all
if ($server[request_uri] == 'my.test.domain') { ... set database connect to second domain }
You can change the path for uploads (avatars, attachments) in the acp, so you can separate the files for the boards. The cache is in a subfolder of the
cache
folder, the name of the subfolder is given by config.php
parameter PHPBB_ENVIRONMENT
store
, and as long you don't have any same extensions active on both boards, which make use of the store, there are "only" database backups written into the store. Those file contain at least a timestamp in the file name and should not be critical.