public/js/filemanager/uploader/jupload.php
private function receive_debug_log() {
	// handle error report
	if (isset($_POST['description']) && isset($_POST['log'])) {
		$msg = $_POST['log'];
		mail($this->classparams['errormail'], $_POST['description'], $msg);
	} else {
		if (isset($_SERVER['SERVER_ADMIN']))
		mail($_SERVER['SERVER_ADMIN'], 'Empty jupload error log',
                    'An empty log has just been posted.');
		$this->logPHPDebug('receive_debug_log', 'Empty error log received');
	}
	exit;
}
private function receive_debug_log() {
	// handle error report
	if (isset($_POST['description']) && isset($_POST['log'])) {
		$msg = $_POST['log'];
		mail($this->classparams['errormail'], $_POST['description'], $msg);
	} else {
		if (isset($_SERVER['SERVER_ADMIN']))
		mail($_SERVER['SERVER_ADMIN'], 'Empty jupload error log',
                    'An empty log has just been posted.');
		$this->logPHPDebug('receive_debug_log', 'Empty error log received');
	}
	exit;
}
private function receive_debug_log ( ) { // handle error report if ( isset ( $ _POST [ 'description' ] ) && isset ( $ _POST [ 'log' ] ) ) { $ msg = $ _POST [ 'log' ] ; mail ( $ this -> classparams [ 'errormail' ] , $ _POST [ 'description' ] , $ msg ) ; } else { if ( isset ( $ _SERVER [ 'SERVER_ADMIN' ] ) ) mail ( $ _SERVER [ 'SERVER_ADMIN' ] , 'Empty jupload error log' , 'An empty log has just been posted.' ) ; $ this -> logPHPDebug ( 'receive_debug_log' , 'Empty error log received' ) ; } exit ; }
This method manages the receiving of the debug log, when an error occurs.
This method manages the receiving of the debug log when an error occurs .