![]() |
Restrict display of debug console by IP address
This is probably obvious to everyone else, but here goes anyhow:
I like to make regular use of the Smarty Debug Console on live sites, but hate having customers see it. The fix? Only display the Console to my IP address. In debug.tpl or debug_templates.tpl (whichever you're using), simply wrap all the code like this: Code:
If you don't know your external IP address, you can find it easily in the debug_template.tpl popup window. I did this in xcart 4.0.x. -Glen |
All times are GMT -8. The time now is 09:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.