Difference between revisions of "Hide Default Settings"
From Roaring Penguin
Line 8: | Line 8: | ||
?> | ?> | ||
Where: | Where: | ||
− | * | + | *where multiple $Config[]; entries are allowed), and |
− | * | + | *There's no whitespace before <?php or after ?>. |
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div> | <div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div> | ||
[[category:All]][[category:Setup]][[category:Theming]] | [[category:All]][[category:Setup]][[category:Theming]] |
Latest revision as of 15:17, 24 June 2014
The $Config variable in the CanIt software is a large array holding the settings for a wide variety of CanIt configurations. It can be used to control CanIt's default behaviour. To access it you need to create the file, If it does not already exist:
/var/www/canit/site/config.php
In the file, if not already there, you need to add:
<?php global $Config; $Config['HideStreamSwitchingForm'] = 1; ?>
Where:
- where multiple $Config[]; entries are allowed), and
- There's no whitespace before <?php or after ?>.