<?php
define('DLOG_USER_INFO',0);
/**
* dlog configuration file
* For each error, you may specify which action perform.
* Default value 0 (Off)
*/
$dlog_ErrorMgr[DLOG_USER_INFO]= array(
'display' => 1, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 0 // end the script
);
$dlog_ErrorMgr[E_USER_ERROR]= array(
'display' => 0, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 1 // end the script
);
$dlog_ErrorMgr[E_USER_WARNING ]= array(
'display' => 1, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 1 // end the script
);
$dlog_ErrorMgr[E_USER_NOTICE ]= array(
'display' => 0, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 0 // end the script
);
$dlog_ErrorMgr[E_WARNING ]= array(
'display' => 0, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 0 // end the script
);
$dlog_ErrorMgr[E_NOTICE ]= array(
'display' => 0, // send the message to browser
'mail' => 0, // send by e-mail
'flat' => 1, // write out to flat file
'db' => 0, // write to db
'die' => 0 // end the script
);
/**
* Db Parameters.
*/
$dlog_DbSystem='YourDbServer';
$dlog_Dbname='';
$dlog_DbUser='';
$dlog_DbPassword='';
$dlog_LogTable='dlog';
/**
* Mail parameters
*/
$dlog_MailObj='Error message'; // object
$dlog_MailTo=array('hide@address.com','hide@address.com'); // Destination, may be an array of address
$dlog_MailSender='hide@address.com'; // mail sender
/**
* Flat file parameter
*/
$dlog_FlatFileName='dlog.txt'; // your log file (if flat set to 1)
?>