exception.xml.php 481 B

12345678910111213
  1. <?php echo sprintf('<?xml version="1.0" encoding="%s" ?>', sfConfig::get('sf_charset', 'UTF-8'))."\n" ?>
  2. <error code="<?php echo $code ?>" message="<?php echo $text ?>">
  3. <debug>
  4. <name><?php echo $name ?></name>
  5. <message><?php echo htmlspecialchars($message, ENT_QUOTES, sfConfig::get('sf_charset', 'UTF-8')) ?></message>
  6. <traces>
  7. <?php foreach ($traces as $trace): ?>
  8. <trace><?php echo $trace ?></trace>
  9. <?php endforeach; ?>
  10. </traces>
  11. </debug>
  12. </error>