<php> Configuration variables for the Parser
* All directives are explained within this file
// --- Debugging options
$CFG['ShowErrors'] = 1; // Hrm currently not really used
$CFG['BreakOnErrors'] = 0; // Defines if the parser breakes on Error's. Some error's can be ignored.
$CFG['ErrorLogFileName'] = "Errors.log"; // defines a filename where the error's aer logged to.
// If blank, no error log will be created
$CFG['ShowDebug'] = 0; // This enables avarage debug output, you will see much more then usual.
$CFG['ShowDebugLine'] = 0; // Print each line of the gamelog into the debug output when it is processed
// usefull for developers only
$CFG['ShowDebugVerbose'] = 0; // Only developers should enable it, or if you are searching some bug!
// This will create a huge amount of debug output, so don't tell me I didn't warn you
$CFG['DisableWriteLastLogLine'] = 0; // For debugging support! By enabling this value, Sof2UltraStats
// will not write back the last read line from the gamelogfile into the database
// --- Logging options
$CFG['EnableChatLogging'] = 1; // Logging all chat can increase the size of the database very fast. Enable it only
// if you have enough Database space free.
$CFG['MinimumGametime'] = 60; // Minimum duration of a game session if it should processed in the Server settings.
$CFG['Gamelogfile'] = "../logfile/games.log"; // Location of the Gamelogfile
$CFG['Calculate_overall_stats'] = 1; // If set to 1, it will generate overall stats at the end of a run. Thinks like
// allkills,alldeaths,complete played time will be calculated
// --- FTP Options
// FTP Can Speed up the Stats Update.
// However, If this doesnt work you could use filepath for ftp.
// There is also a security Fix that would only allow to update
// If the last update is more then 5 minutes old!
// The file bin/statstemp.dat has to be chmod 777.
$CFG['ftp_activate'] = "0"; // Do you want to use ftp for transfer? 1 will actitivate and 0 will deactivate (Default: 0)
$CFG['ftp_host'] = "ftp.hostname.host"; // Your FTP Host e.g. an ip or a domain like ftp.youserver.com
$CFG['ftp_uname'] = "Your FTP UserName"; // Your FTP loginname
$CFG['ftp_pass'] = "Your FTP Password"; // Your FTP password
$CFG['ftp_timeout'] = "25"; // This is the Time a Transfer should take maximal (Default: 25 = Its Ethernal^^)
$CFG['ftp_port'] = "21"; // Your FTP port (Default: 21)
$CFG['tempfile'] = "tempfile.dat"; // This is just the Temp-File for storing the Transfered Data, so we havent
// need to establish a FTP connection every time the site reloads
// --- Special Options
$CFG['Enable_g_logHits_parsing'] = 0; // This special option requires you to set the "g_logHits" cvar to 1 !
// Instead of the kill logline, the parser will then try to get the
// hit location of a kill by the "hit: " log lines.
// Note enabling this option will create much larger logfiles, but is your only choice
// if you want hit location logging.
$CFG['PHPScriptTimeOut'] = 25; // This variable defines the timeout if the updater is called over a website.
// The parser will abort all operation if this timeout is reached.
// This makes sure that the webserver does not interrupt the parser in the middle
// of an operation. Note, this variable will be IGNORED if you run the
// parser over the command line.