config-sample.php
author Dan
Wed, 07 May 2008 23:38:23 -0400
changeset 4 8f62a406d9d9
parent 2 c474904ed707
child 6 a802bb5b3e08
permissions -rw-r--r--
Added debug message for MySQL reconnection; it's tested and confirmed working now
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     1
<?php
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     2
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     3
// Rename this to config.php and run php ./enanobot.php to start.
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     4
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     5
$nick = 'EnanoBot';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     6
$pass = '';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     7
$name = 'Enano CMS logging/message bot';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     8
$user = 'enano';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
     9
$privileged_list = array('your', 'nick', 'list', 'here');
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    10
$mysql_host = 'localhost';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    11
$mysql_user = '';
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    12
$mysql_pass = '';
2
c474904ed707 Moved db_name to config.php; added !snippets virtual snippet that lists all snippet codes in database; abstracted database query and error checking code
Dan
parents: 0
diff changeset
    13
$mysql_dbname = '';
0
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    14
d02690a8552c Initial population. EnanoBot v0.1.
Dan
parents:
diff changeset
    15
?>