Page 1 of 1

Solved - Config Root Http_Host + sub directory

Posted: Sun Feb 21, 2010 1:41 pm
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

Re: Config Root Http_Host + sub directory

Posted: Sun Feb 21, 2010 1:49 pm
by Phoenix
Solved


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