<?php
/**
 * @link https://github.com/thinker-g/yii2-ishtar-gate
 * @copyright Copyright (c) Thinker_g (Jiyan.guo@gmail.com)
 * @author Thinker_g
 * @license MIT
 * 
 * This file return a sample configuration array with all supported options and their default values.
 * You may use this as a template to customize your module in application's config array.
 * 
 */

return [
    'class' => 'thinkerg\IshtarGate\Module',

    'enabled' => true,

    'blockerRoute' => [],
    'useRedirection' => false,
    'layout' => 'main',

    'exceptRoutes' => [],
    'onlyRoutes' => [],
    'tipVersion' => true,

    'privIPs' => [],
    'credentials' => ['tester' => 'tester'],
    'hashCallable' => 'thinkerg\IshtarGate\Module::dummyHash',

    'logoutPublic' => false,
    'siteLogoutRoute' => ['site/logout'],

    'newsTicker' => 'thinkerg\IshtarGate\INewsTickerAsset',
    'news' => [],

    'errActionRoute' => 'site/error',
    'sessKey' => 'ishtar',

    'customField' => 'System is down for maintenance. We\'ll return in a moment'
];
<?php
/**
 * @link https://github.com/thinker-g/yii2-ishtar-gate
 * @copyright Copyright (c) Thinker_g (Jiyan.guo@gmail.com)
 * @author Thinker_g
 * @license MIT
 * 
 * This file return a sample configuration array with all supported options and their default values.
 * You may use this as a template to customize your module in application's config array.
 * 
 */

return [
    'class' => 'thinkerg\IshtarGate\Module',

    'enabled' => false,

    'blockerRoute' => [],
    'useRedirection' => false,
    'layout' => 'main',

    'exceptRoutes' => [],
    'onlyRoutes' => [],
    'tipVersion' => true,

    'privIPs' => [],
    'credentials' => ['tester' => 'tester'],
    'hashCallable' => 'thinkerg\IshtarGate\Module::dummyHash',

    'logoutPublic' => false,
    'siteLogoutRoute' => ['site/logout'],

    'newsTicker' => 'thinkerg\IshtarGate\INewsTickerAsset',
    'news' => [],

    'errActionRoute' => 'site/error',
    'sessKey' => 'ishtar',

    'customField' => 'System is down for maintenance. We\'ll return in a moment'
];
Correct default value of attribute 'enabled'.
Correct default value of attribute 'enabled'.
