mirror of
https://github.com/glowingblue/flarum-ext-redis-setup.git
synced 2026-03-22 06:57:45 +01:00
Init
This commit is contained in:
24
extend.php
Normal file
24
extend.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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;
|
||||
|
||||
return [
|
||||
(new Extend\Frontend('admin'))
|
||||
->js(__DIR__.'/js/dist/admin.js'),
|
||||
|
||||
new Extend\Locales(__DIR__.'/resources/locale'),
|
||||
|
||||
new EnableRedis()
|
||||
];
|
||||
Reference in New Issue
Block a user