Skip to content

Commit

Permalink
update vars.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyrot committed May 17, 2011
1 parent 9057f87 commit c525809
Showing 1 changed file with 29 additions and 27 deletions.
56 changes: 29 additions & 27 deletions www/vars.php
Original file line number Original file line Diff line number Diff line change
@@ -1,35 +1,37 @@
<?php <?php


/** // These settings only apply to user.php and history.php.
* Global settings are the default for ALL channels.
*/ // Global settings are the default for ALL channels.
$settings['__global'] = array( $settings['__global'] = array(
'bar_afternoon' => 'y.png', 'bar_afternoon' => 'y.png',
'bar_evening' => 'r.png', 'bar_evening' => 'r.png',
'bar_morning' => 'g.png', 'bar_morning' => 'g.png',
'bar_night' => 'b.png', 'bar_night' => 'b.png',
'channel' => '', 'channel' => '',
'db_host' => '127.0.0.1', 'db_host' => '127.0.0.1',
'db_name' => 'sss', 'db_name' => 'sss',
'db_pass' => '', 'db_pass' => '',
'db_port' => 3306, 'db_port' => 3306,
'db_user' => '', 'db_user' => '',
'mainpage' => './', 'debug' => false,
'rows_people_month' => 30, 'mainpage' => './',
'rows_people_timeofday' => 10, 'rows_people_month' => 30,
'rows_people_year' => 30, 'rows_people_timeofday' => 10,
'stylesheet' => 'sss.css', 'rows_people_year' => 30,
'timezone' => 'UTC', 'stylesheet' => 'sss.css',
'userstats' => false 'timezone' => 'UTC',
'userstats' => false
); );


/** // Each channel can have their own specific settings overriding the global ones.
* Each channel can have their own specific settings overriding global ones. // Create a new array with the appropriate channel ID for each channel and put
* _'example' is the channel ID here_ // the settings in it that differ from the global values.
*/ $settings['MyChannelID'] = array(
$settings['example'] = array( 'channel' => '#MyChannel',
'channel' => '#example', 'db_name' => 'MyDatabase',
'db_name' => 'sss-example' 'mainpage' => './mychannel.html',
'userstats' => true
); );


?> ?>

0 comments on commit c525809

Please sign in to comment.