Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1201 → Rev 1200

/trunk/cron.php
25,7 → 25,6
// a WebCron service (e.g. https://www.easycron.com/ ) instead, using cron.php
 
use ViaThinkSoft\OIDplus\OIDplus;
use ViaThinkSoft\OIDplus\OIDplusException;
 
try {
require_once __DIR__ . '/includes/oidplus.inc.php';
36,6 → 35,5
ob_end_clean();
} catch (\Exception $e) {
http_response_code(500); // Internal Server Error
$htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage());
echo $htmlmsg;
echo $e->getMessage();
}