[Phpmyadmin-devel] Accessing configuration ($GLOBALS['cfg']) in JS files

Michal Čihař michal at cihar.com
Tue May 20 13:46:11 CEST 2014


Hi

Dne Tue, 20 May 2014 17:02:03 +0530
Chirayu Chiripal <chirayu.chiripal at 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

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140520/698fd850/attachment.sig>


More information about the Developers mailing list