cvs: pearbot / config.php

[email protected] ("Mirco 'meebey' Bauer") Fri, 25 Jul 2003 17:09:40 -0000
Newsgroups php.pear.bot
Message-ID <cvsmeebey1059152980@cvsserver>
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 <[email protected]>';
 $config['nick'] = 'PEARbot';
 $config['ident'] = 'PEARbot';