Solved - Config Root Http_Host + sub directory

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Phoenix
Forum Members
Forum Members
Posts: 19
Joined: Mon Jul 14, 2008 9:53 am

Solved - Config Root Http_Host + sub directory

Post by Phoenix »

I have multiple domains thus use
$config['root_url'] = 'http://'. $_SERVER['HTTP_HOST'];

see

http://forum.cmsmadesimple.org/index.ph ... #msg115404

How Do I  ?

add a subdirectory to this ?

example
$config['root_url'] = 'http://'. $_SERVER['HTTP_HOST'];     = domainname

$config['root_url'] = 'http://'. $_SERVER['HTTP_HOST'] ???;     = domainname/cmsms
Last edited by Phoenix on Sun Feb 21, 2010 1:50 pm, edited 1 time in total.
User avatar
Phoenix
Forum Members
Forum Members
Posts: 19
Joined: Mon Jul 14, 2008 9:53 am

Re: Config Root Http_Host + sub directory

Post by Phoenix »

Solved


$config['root_url'] = 'http://'. $_SERVER['SERVER_NAME'].'/cmsms';
Post Reply

Return to “CMSMS Core”