Permalink
Browse files

add examples in sss.conf; have logfile_dateformat default to nothing

  • Loading branch information...
tommyrot
tommyrot committed Apr 20, 2011
1 parent d38ae6b commit c67ee3e7935febcfa2bfb43254ba159bee700af4
Showing with 8 additions and 5 deletions.
  1. +6 −3 sss.conf
  2. +2 −2 sss.php
View
@@ -32,9 +32,10 @@ db_name = "sss"
# Examples:
# filename: #chatroom.20030131 dateformat: *.Ymd
# filename: #chatroom.20030131 dateformat: \#c\h\atroo\m.Ymd
-# filename: help.log-31012003 dateformat: *.*-dmY
-# filename: help.log-31012003.gz dateformat: *.*-dmY.\g\z
-logfile_dateformat = "*.Ymd"
+# filename: chatroom.log-31012003 dateformat: *.*-dmY
+# filename: chatroom.log-31012003.gz dateformat: *.*-dmY.\g\z
+# filename: chatroom.log-31012003.gz dateformat: *.*-dmY.*
+logfile_dateformat = ""
# The parser to use depending on logfile format. Parsers included with sss are:
# parser_eggdrop
@@ -49,9 +50,11 @@ parser = ""
###
# File which HTML contents should be included at the foot of the main statspage.
+# Done once during statspage creation; it's advisable to use a full path here.
addhtml_foot = ""
# File which HTML contents should be included at the head of the main statspage.
+# Done once during statspage creation; it's advisable to use a full path here.
addhtml_head = ""
# Automatically link nicks which are very likely to be of the same user.
View
@@ -30,7 +30,7 @@
private $db_pass = '';
private $db_port = 3306;
private $db_user = '';
- private $logfile_dateformat = '*.Ymd';
+ private $logfile_dateformat = '';
private $parser = '';
private $timezone = 'UTC';
@@ -49,7 +49,7 @@
'parser' => 'string',
'outputbits' => 'int',
'timezone' => 'string');
- private $settings_list_required = array('channel', 'db_pass', 'db_user', 'parser');
+ private $settings_list_required = array('channel', 'db_pass', 'db_user', 'logfile_dateformat', 'parser');
private $zlib = false;
public function __construct()

0 comments on commit c67ee3e

Please sign in to comment.