Elxis CMS Forum
Support => General => Topic started by: xmanhattan on March 24, 2012, 15:10:59
-
Hello all,
I was looking at the index file of 2 templates and noticed a difference in the link href.
Can someone tell me what is the difference when using $mosConfig_live_site or $mainframe->getCfg?
Also, if creating a new template which should be used for 2009.3?
Thanks
-
Hello Peter,
As you have written $mainframe->getCfg doesn't mean something by itself. It's recommended to use $mainframe->getCfg('live_site'); in case that you want to get the value of global variable $mosConfig_live_site.
-
Hello Stavros,
Thank you for your quick answer.
-
You are welcome, Peter!