0
1
Fork 0
hedera-web-mindshore/web/log.php

21 lines
384 B
PHP
Executable File

<?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 ();
?>