[Phpmyadmin-devel] how to allow access to page without token

Marc Delisle marc at infomarc.info
Thu Oct 3 15:17:28 CEST 2013


Mohamed Ashraf a écrit :
> I want to allow access to the scripts page without a token and at the same
> time I want to check the current config settings. The current method I use
> to check config settings is by including common.inc.php to the script but
> the problem is that common.inc.php removes all GET params if the token is
> incorrect.
> 
> Is there another way to get the config settings other than including
> common.inc.php

Did you try

require_once './libraries/Config.class.php';
$GLOBALS['PMA_Config'] = new PMA_Config(CONFIG_FILE);


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list