Changeset 10971
- Timestamp:
- 08/19/08 21:16:41 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/routing/sfPatternRouting.class.php
r10593 r10971 553 553 if (!$found) 554 554 { 555 throw new sfConfigurationException(sprintf('Unable to find a matching routing rule to generate url for params "%s".', var_export($params, true)));555 throw new sfConfigurationException(sprintf('Unable to find a matching routing rule to generate url for params "%s".', str_replace("\n", '', var_export($params, true)))); 556 556 } 557 557 } … … 617 617 if ($this->options['logging']) 618 618 { 619 $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Match route [%s] for "%s" ', $routeInfo['name'], $routeInfo['route']))));619 $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Match route [%s] for "%s" with parameters %s', $routeInfo['name'], $routeInfo['route'], str_replace("\n", '', var_export($routeInfo['parameters'], true)))))); 620 620 } 621 621 }

