<?php

openlog ('hedera-web', LOG_ODELAY, LOG_LOCAL0);

require_once ('vn/hedera/init.php');

if (isset ($_REQUEST['file'])
&& isset ($_REQUEST['line'])
&& isset ($_REQUEST['message'])
&& isset ($_REQUEST['stack']))
	error_log (sprintf ('Javascript: %s(%d): %s. Stack: %s'
		,$_REQUEST['file']
		,$_REQUEST['line']
		,$_REQUEST['message']
		,$_REQUEST['stack']
	));

closelog ();

?>
