Hi
Dne Thu, 3 Oct 2013 14:49:35 +0200
Mohamed Ashraf <mohamed.ashraf.213(a)gmail.com> napsal(a):
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.
Maybe it's better to describe what you want to actually achieve.
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.
That's exactly purpose of token. In case you're doing the request from
phpMyAdmin the token is available in session, so including it should
not be hard...
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com