Pluf Framework

Pluf Framework Commit Details


Date:2008-11-10 05:01:39 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:c648c9125690e280c4d397f27a6a859a5a6dd9ce
Parents: 4c05e1d7a486e33d6f5868ea325bb41f71a23c8a
Message:Fixed the bad encoding in the email for the spaces.

The email was containing non breakable spaces encoded in latin1 but the
email was sent in utf-8.
Changes:

File differences

src/Pluf/HTTP/Response/ServerError.php
6868
6969
7070
71
71
7272
7373
7474
......
8686
8787
8888
89
90
91
92
93
94
95
96
97
98
99
100
101
10289
10390
10491
return $params;');
$src2lines = create_function('$file','$src=nl2br(highlight_file($file,TRUE));
return explode("<br />",$src);');
$clean = create_function('$line','return html_entity_decode(trim(strip_tags($line)));');
$clean = create_function('$line','return html_entity_decode(str_replace("&nbsp;", " ", $line));');
$desc = get_class($e)." making ".$_SERVER['REQUEST_METHOD']." request to ".$_SERVER['REQUEST_URI'];
$out = $desc."\n";
if ($e->getCode()) {
}
$out .= '* '.$sub($frame).'
['.$frame['file'].', line '.$frame['line'].'] *'."\n";
/*
if (count($frame['args']) > 0) {
$params = $parms($frame);
$out .= '* Args *'."\n";
foreach ($frame['args'] as $k => $v) {
$name = isset($params[$k]) ? '$'.$params[$k]->name : '?';
$out .= 'Arg: '.$k."\n";
$out .= 'Name: '.$name."\n";
$out .= 'Value: '.print_r($v,true)."\n";
}
$out .= "\n";
}
*/
if (is_readable($frame['file']) ) {
$out .= '* Src *'."\n";
$lines = $src2lines($frame['file']);

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05697s using 13 queries.