cvs: pearbot / config.php

From: Date: Fri, 25 Jul 2003 15:18:06 +0000
Subject: cvs: pearbot / config.php
Groups: php.pear.bot 
Request: Send a blank email to pear-bot+get-14@lists.php.net to get a copy of this message
meebey Fri Jul 25 11:18:06 2003 EDT Modified files: /pearbot config.php Log: - changed db options to MDB style. Index: pearbot/config.php diff -u pearbot/config.php:1.3 pearbot/config.php:1.4 --- pearbot/config.php:1.3 Mon Feb 3 10:50:05 2003 +++ pearbot/config.php Fri Jul 25 11:18:06 2003 @@ -1,6 +1,6 @@ <?php /** - * $Id: config.php,v 1.3 2003/02/03 15:50:05 meebey Exp $ + * $Id: config.php,v 1.4 2003/07/25 15:18:06 meebey Exp $ * * PEARbot * this is the IRC service bot for #pear writtin in PHP @@ -28,14 +28,14 @@ */ /* database settings */ - -$mysql_server = '10.0.0.5'; -$mysql_username = 'pearbot'; -$mysql_password = 'x'; -$mysql_db = 'pearbot'; +$db_type = 'mysql'; +$db_server = 'localhost'; +$db_username = 'pearbot'; +$db_password = 'x'; +$db_db = 'pearbot'; +$config['db_dsn'] = "$db_type://$db_username:$db_password@$db_server/$db_db"; /* general settings */ - $config = array(); $config['real_name'] = 'PEAR IRC service bot for #pear <pearbot@lists.php.net>';

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