Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 1
<?
2
require_once('./include/LSTU_generic.inc');
3
require_once('./include/LSTM_class_s3table.php');
4
require_once('./include/LSTM_class_cTcwTable.php');
5
 
6
 
7
/**
8
    * Gestione Errore:genera messaggio errore,OCIRollback,scrive wlog
9
    * @param string	err codice errore
10
    * @param string	msg messaggio errore
11
    * @return void
12
*/
13
function gest_err($err, $msg = '',$idErr = '') {
14
 
15
	global $conn,$gl_id_richiesta_ori;
16
 
17
	$gl_id_richiesta_ori = $idErr;
18
 
19
	out('ERRORE = '.$err);
20
 
21
	OCIRollback($conn);
22
 
23
	wlog($err, 1, $msg, 0);
24
}
25
?>