Changeset 8368
- Timestamp:
- 04/09/08 01:38:43 (5 months ago)
- Files:
-
- branches/1.1/lib/log/sfWebDebugLogger.class.php (modified) (1 diff)
- branches/1.1/lib/util/sfContext.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/log/sfWebDebugLogger.class.php
r7763 r8368 90 90 // * if HTTP headers only 91 91 $response = $event->getSubject(); 92 if ( 92 if (!$this->context->has('request') || !$this->context->has('response') || !$this->context->has('controller') || 93 93 $this->context->getRequest()->isXmlHttpRequest() || 94 94 strpos($response->getContentType(), 'html') === false || branches/1.1/lib/util/sfContext.class.php
r7792 r8368 479 479 { 480 480 // shutdown all factories 481 $this->getUser()->shutdown(); 482 $this->getStorage()->shutdown(); 483 $this->getRouting()->shutdown(); 481 if($this->has('user')) 482 { 483 $this->getUser()->shutdown(); 484 $this->getStorage()->shutdown(); 485 } 486 487 if ($this->has('routing')) 488 { 489 $this->getRouting()->shutdown(); 490 } 484 491 485 492 if (sfConfig::get('sf_use_database'))