Hide Default Settings

From Roaring Penguin
Revision as of 12:45, 15 May 2014 by MCoyne (talk | contribs)

Jump to: navigation, search

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 ?>.