Quote:
Originally Posted by krohnathlonman
If you want only admins to be able to see it, I suggest you change
This part:
if ($_REQUEST['debug'] > 0) {
to something hidden like if ($_REQUEST['zebrapants'] > 0) {
then in the URL instead of using &debug=1 use &zebrapants=1
|
Instead of having to type something that long, why wouldn't you jsut add a conditional to either check permissions or usergroup of the user? not only that, there's always the potential that someone would find out what the variable is and without any kind of usergroup/permission check, they can use it.