Home  |  Linux  | Mysql  | PHP  | XML
From:Mirco 'meebey' Bauer Date:Fri Jul 25 11:09:40 2003
Subject:cvs: pearbot / config.php
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';


Navigate in group php.pear.bot at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants