Default Login Realm

From Roaring Penguin
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['DefaultRealm'] = 'example-com';
  ?>

Where:

  • - where multiple $Config[]; entries are allowed), and
  • - There's no whitespace before <?php or after ?>.