Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Framework » Location of new (Sub-) System
Re: Location of new (Sub-) System [message #7593 is a reply to message #7592] Thu, 29 April 2021 03:54 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
In all my installations I have the Radicore subsystem directories and all application subsystem directories under the same root folder, which may be called 'radicore' but can be anything you choose. If several domains are sharing the same code then each domain must have its DOCROOT set to the root folder mentioned above. This means that each domain will share the same files, including the config.inc file. This means that by default each domain will also share the same databases. You can alter this by setting different values in the config.inc file according to the current domain name, which is provided in $_SERVER['SERVER_NAME']. You can then use a different value for $dbprefix, such as 'htm_' and 'him_' so that the data for one domain is NOT shared with any other domain.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Output 5 (Label view)
Next Topic: Drop Down - PDF Output
Goto Forum:
  


Current Time: Mon Apr 29 01:03:22 EDT 2024

Total time taken to generate the page: 0.01160 seconds