Hi, I was wondering is there any mechanism available to access user configuration ($GLOBALS['cfg']) in javascript files or we have add them in $js_messages for getting required configurations?
Hi
Dne Tue, 20 May 2014 17:02:03 +0530 Chirayu Chiripal chirayu.chiripal@gmail.com napsal(a):
Hi, I was wondering is there any mechanism available to access user configuration ($GLOBALS['cfg']) in javascript files or we have add them in $js_messages for getting required configurations?
See getJsParams in libraries/Header.class.php