forked from clone/flarum-ext-redis-setup
29 lines
610 B
PHP
29 lines
610 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of glowingblue/redis-setup.
|
|
*
|
|
* Copyright (c) 2021 Ian Morland.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE.md
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace GlowingBlue\RedisSetup;
|
|
|
|
use Flarum\Extend;
|
|
use GlowingBlue\RedisSetup\Extend\EnableRedis;
|
|
use GlowingBlue\RedisSetup\Provider\QueueProvider;
|
|
|
|
return [
|
|
(new Extend\Frontend('admin'))
|
|
->js(__DIR__.'/js/dist/admin.js'),
|
|
|
|
new Extend\Locales(__DIR__.'/resources/locale'),
|
|
|
|
new EnableRedis(),
|
|
|
|
(new Extend\ServiceProvider())
|
|
->register(QueueProvider::class),
|
|
];
|