cvs: pearbot / config.php

From: Date: Fri, 25 Jul 2003 17:09:40 +0000
Subject: cvs: pearbot / config.php
Groups: php.pear.bot 
Request: Send a blank email to pear-bot+get-24@lists.php.net to get a copy of this message
meebey Fri Jul 25 13:09:40 2003 EDT Modified files: /pearbot config.php Log: - added $config['modules_path']. Index: pearbot/config.php diff -u pearbot/config.php:1.4 pearbot/config.php:1.5 --- pearbot/config.php:1.4 Fri Jul 25 11:18:06 2003 +++ pearbot/config.php Fri Jul 25 13:09:40 2003 @@ -1,6 +1,6 @@ <?php /** - * $Id: config.php,v 1.4 2003/07/25 15:18:06 meebey Exp $ + * $Id: config.php,v 1.5 2003/07/25 17:09:40 meebey Exp $ * * PEARbot * this is the IRC service bot for #pear writtin in PHP @@ -27,6 +27,8 @@ * */ +$config = array(); + /* database settings */ $db_type = 'mysql'; $db_server = 'localhost'; @@ -36,8 +38,7 @@ $config['db_dsn'] = "$db_type://$db_username:$db_password@$db_server/$db_db"; /* general settings */ -$config = array(); - +$config['modules_path'] = dirname(__FILE__).'/modules'; $config['real_name'] = 'PEAR IRC service bot for #pear <pearbot@lists.php.net>'; $config['nick'] = 'PEARbot'; $config['ident'] = 'PEARbot';

« previous php.pear.bot (#24) next »