Re: [SMARTY] You can make your debug console persist by using SMARTY_DEBUG=1 or SMARTY_DEBUG=0 in the URL.

From: Date: Mon, 02 Feb 2004 17:37:00 +0000
Subject: Re: [SMARTY] You can make your debug console persist by using SMARTY_DEBUG=1 or SMARTY_DEBUG=0 in the URL.
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10914@lists.php.net to get a copy of this message
you have to enable it explicitly with $smarty->debugging_ctrl='URL', of course. the default is 'NONE' which disables debugging via the URL. (see http://smarty.php.net/manual/en/variable.debugging.ctrl.php) greetings messju On Mon, Feb 02, 2004 at 08:25:34PM +0300, Zoran Knezevic wrote: > Hi all again! > > What this exactly means? > > "You can make your debug console persist by using SMARTY_DEBUG=1 or SMARTY_DEBUG=0 in > the URL." > > is that means that if I put www.somehostdummyexample.com/?SMARTY_DEBUG=1 if they use > smarty 2.6.1 that debuging console with all variables that they assign will popup? > > That could be huge problem for some of my scripts. > > Sometimes I send variables to the template and if user is administrator, for example I > show some values if not then nothing could be sent... now anybody could see "secret" > server side things stat I assign for templates only on their client side. > > Best regards, > > Zoran > > P.S. I was really disturbed then I saw that sentance in the last news on the smarty > site. I wrote this mail right away without exploring what is that exactly... maybe you > could explain me a little bit. Thanks. > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#10914) next »