On Thu, Jun 11, 2015 at 4:53 PM, Nisarg Jhaveri <nisargjhaveri@gmail.com> wrote:
Hi,

Is there any common/standard way by which we can access configuration options (or in general a PHP variable) in JS? If not, what is the best way to do so?

You can define them in getJsParams() in libraries/Header.class.php.. It is documented at [0]

[0] https://wiki.phpmyadmin.net/pma/Page_loader#Accessing_common_parameters_via_JS


--
Regards

Atul Pratap Singh