/** * Display the message in a nice red font with a nice icon * ... and dies */ public static function exitWithErrorMessage($message) { $output = "<style>a{color:red;}</style>\n" . "<div style='color:red;font-family:Georgia;font-size:120%'>" . "<p><img src='themes/default/images/error_medium.png' style='vertical-align:middle; float:left;padding:20 20 20 20'>" . $message . "</p></div>"; print Piwik_Log_Formatter_ScreenFormatter::getFormattedString($output); exit; }