<?php

return [
    'autoload' => false,
    'hooks' => [
        'app_init' => [
            'barcode',
            'qrcode',
            'webscan',
        ],
        'action_begin' => [
            'clicaptcha',
            'csmtable',
            'third',
        ],
        'view_filter' => [
            'clicaptcha',
            'darktheme',
            'third',
        ],
        'captcha_mode' => [
            'clicaptcha',
        ],
        'config_init' => [
            'cropper',
            'csmtable',
            'darktheme',
            'third',
        ],
        'user_delete_successed' => [
            'third',
        ],
        'user_logout_successed' => [
            'third',
        ],
        'module_init' => [
            'third',
        ],
    ],
    'route' => [
        '/barcode$' => 'barcode/index/index',
        '/barcode/build$' => 'barcode/index/build',
        '/example$' => 'example/index/index',
        '/example/d/[:name]' => 'example/demo/index',
        '/example/d1/[:name]' => 'example/demo/demo1',
        '/example/d2/[:name]' => 'example/demo/demo2',
        '/qrcode$' => 'qrcode/index/index',
        '/qrcode/build$' => 'qrcode/index/build',
        '/third$' => 'third/index/index',
        '/third/connect/[:platform]' => 'third/index/connect',
        '/third/callback/[:platform]' => 'third/index/callback',
        '/third/bind/[:platform]' => 'third/index/bind',
        '/third/unbind/[:platform]' => 'third/index/unbind',
    ],
    'priority' => [],
    'domain' => '',
];
