| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Restrict display of debug console by IP address | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|