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 #7589 is a reply to message #7588] Tue, 27 April 2021 04:44 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
Are the two domains (www.htmanager.de and www.hartz.biz) being run on the same server with the same DOCROOT? Is this second subsystem going to be available on the same menu system as the first subsystem? Is the first (existing) subsystem going to be only available on www.htmanager.de and the second (new) subsystem only available on www.hartz.biz?

It is possible to have both domains running in the same DOCROOT but still treated as different entities with different databases. In your config.inc file you can detect which domain is being accessed by looking at $_SERVER['SERVER_NAME'], then you can set the credentials you need, including the database prefix, for that particular domain. I do this all the time on my development PC where I have a different set of databases for each client that I support, but they all share the same code base.


 
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 Nov 18 09:22:43 EST 2024

Total time taken to generate the page: 0.01133 seconds