Pluf Framework

Pluf Framework Commit Details


Date:2009-06-19 10:44:35 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:45186bf595f3786a8668e904dc00d6d46f77fa33
Parents: 710db67557c89cea3aa553b492a182b5939ac390
Message:Updated to add more info when in unit tests.

Changes:

File differences

src/Pluf/Dispatcher.php
7575
7676
7777
78
79
80
7881
7982
8083
                $response = new Pluf_HTTP_Response_ServerError($e);
            }
            $response->render($req->method != 'HEAD' and !defined('IN_UNIT_TESTS'));
            if (defined('IN_UNIT_TESTS')) {
                throw $e;
            }
        }
        /**
         * [signal]
src/Pluf/Mail.php
194194
195195
196196
197
198
199
197200
198201
        if (Pluf::f('send_emails', true)) {
            $mail->send($this->to_address, $hdrs, $body);
        }
        if (defined('IN_UNIT_TESTS')) {
            $GLOBALS['_PX_UNIT_TESTS']['emails'][] = array($this->to_address, $hdrs, $body);
        }
    }
}

Archive Download the corresponding diff file

Branches

Tags

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