-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tommyrot
committed
May 17, 2011
1 parent
9057f87
commit c525809
Showing
1 changed file
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |||
); | ); | ||
|
|
||
?> | ?> |