Campustream 1.0
A social network MQP for WPI
application/config/database.php
Go to the documentation of this file.
00001 <?php
00002 /*
00003  * Database configuration. Fill in all values as needed.
00004  * If you are working with only one MySQL server, simply set
00005  * the master and a single slave DB to the same host and user.
00006  */
00007 
00008 $default = array('host' => '10.179.65.133', 'user' => 'campustream', 'pass' => 'password', 'db' => 'campustream', 'enabled'=>true);
00009 $master  = array('host' => '10.179.65.133', 'user' => 'campustream');
00010 
00011 // start slave configuration
00012 $slaves = array (
00013   'db1' => 
00014   array (
00015     'host' => '10.179.65.133',
00016   )
00017 );
00018 // end slave configuration