Index: trunk/phase3/StartProfiler.php |
— | — | @@ -1,7 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -require_once( dirname(__FILE__).'/includes/ProfilerStub.php' ); |
| 4 | +#require_once( dirname(__FILE__).'/includes/ProfilerStub.php' ); |
5 | 5 | |
| 6 | + require_once( dirname(__FILE__).'/includes/Profiler.php' ); |
| 7 | + $wgProfiler = new Profiler; |
| 8 | + |
6 | 9 | /** |
7 | 10 | * To use a profiler, delete the line above and add something like this: |
8 | 11 | * |
Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -193,6 +193,7 @@ |
194 | 194 | } |
195 | 195 | } else { |
196 | 196 | $sent = mail( $to->toString(), wfQuotedPrintable( $subject ), $body, $headers ); |
| 197 | + print "RESULT: $sent."; |
197 | 198 | } |
198 | 199 | } else { |
199 | 200 | $wgErrorString = 'PHP is not configured to send mail'; |
— | — | @@ -222,7 +223,7 @@ |
223 | 224 | */ |
224 | 225 | static function errorHandler( $code, $string ) { |
225 | 226 | global $wgErrorString; |
226 | | - $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string ); |
| 227 | + $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string . "XXXXXXXXXXXXXXXXXX"); |
227 | 228 | } |
228 | 229 | |
229 | 230 | /** |