referencing my /cms sub-dir from the root using PHP include?
Posted: Mon Nov 14, 2005 8:32 am
I have a pre-existing site where I have just installed CMSMS in the www.mysite.com/cms directory. I would like to keep CMSMS in the /www/cms sub-directory just to keep my site more organized (as opposed to installing CMSMS into the root) So how can I reference CMSMS Pages or Blobs from my site root (from outside the CMS directory)?
I was hoping I could use a php include (or something like) from my site's index.php that to "pull" a blob (or even a entire page) from my cms directory. For example: from my /www/index.php I would include some blob from /www/cms/???)
Is that possible? Can someone show me a code example? Is there a better way?
I was hoping I could use a php include (or something like) from my site's index.php that to "pull" a blob (or even a entire page) from my cms directory. For example: from my /www/index.php I would include some blob from /www/cms/???)
Is that possible? Can someone show me a code example? Is there a better way?