Development

Changeset 12150

You must first sign up to be able to contribute.

Changeset 12150

Show
Ignore:
Timestamp:
10/12/08 09:17:35 (6 years ago)
Author:
fabien
Message:

[1.2] changed XML error templates to work even if short_tags is on

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/exception/data/error.xml.php

    r12138 r12150  
    1 <?xml version="1.0" encoding="<?php echo sfConfig::get('sf_charset', 'UTF-8') ?>"?> 
     1<?php echo sprintf('<?xml version="1.0" encoding="%s" ?>', sfConfig::get('sf_charset', 'UTF-8')) ?> 
    22<error code="<?php echo $code ?>" message="<?php echo $text ?>" /> 
  • branches/1.2/lib/exception/data/exception.xml.php

    r12138 r12150  
    1 <?xml version="1.0" encoding="<?php echo sfConfig::get('sf_charset', 'UTF-8') ?>"?> 
     1<?php echo sprintf('<?xml version="1.0" encoding="%s" ?>', sfConfig::get('sf_charset', 'UTF-8')) ?> 
    22<error code="<?php echo $code ?>" message="<?php echo $text ?>"> 
    33  <debug>