Thanks much.  For those who come behind me, I ended up with this in
app/config/config_dev.yml

framework:
    router:   { resource: "%kernel.root_dir%/config/routing_dev.yml" }
    #profiler: { only_exceptions: false }
    profiler:
        only_exceptions: false
        matcher:
            path: "^/(?!app)"

This prevents the WDT from appearing on /app

Thanks again,

Paul

On Thu, May 12, 2011 at 5:12 PM, Pascal <[email protected]> wrote:
> http://symfony.com/doc/current/book/internals/profiler.html
>
> On Thu, May 12, 2011 at 17:39, Paul Dugas <[email protected]> wrote:
>>
>> I'm an SF2 noob so bear with me please.  I asked this on the users list
>> but didn't get anything useful other than "see the code".  I managed to get
>> back to it today and am looking for some guidance.
>>
>> I'm trying to find a way to disable the WDT on specific pages, not
>> sitewide.  There was a way to do this in SF1.4 but after reading through
>> WebDebugToolbarListener::onCoreResonse(), I don't think similar
>> functionality exists yet.  Please let me know if I'm wrong.
>>
>> I'm looking for the "right" way to indicate in a action that I don't want
>> the injectToolbar() method to be called.  All the logic in onCoreResonse()
>> is based on the request and response objects.  Should I be looking to add a
>> flag to the response object?  Is there an equivalent to the
>> sfConfig::set('sf_web_debug', false) call that was in SF1.4?
>>
>> In case you're wondering why, I'm building a site that uses the normally
>> generated pages for most of the site but a few pages are using Sencha's
>> ExtJS framework for the whole page.  The additions the WDT makes screw up
>> the ExtJS viewport layout so I want to disable the WDT on only those pages.
>>
>> Thanks in advance for any guidance,
>>
>> Paul
>>
>> --
>> If you want to report a vulnerability issue on symfony, please send it to
>> security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-devs?hl=en
>
>
>
> --
> Pascal
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to