2017-12-10 18:41:13 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Flarum.
|
|
|
|
*
|
2022-03-12 07:11:20 +08:00
|
|
|
* For detailed copyright and license information, please view the
|
|
|
|
* LICENSE file that was distributed with this source code.
|
2017-12-10 18:41:13 +08:00
|
|
|
*/
|
|
|
|
|
2018-06-20 12:05:48 +08:00
|
|
|
use Flarum\Extend;
|
2020-12-09 02:08:26 +08:00
|
|
|
use Flarum\Statistics\AddStatisticsData;
|
2017-12-10 18:41:13 +08:00
|
|
|
|
2018-06-20 12:05:48 +08:00
|
|
|
return [
|
2018-07-27 17:38:42 +08:00
|
|
|
(new Extend\Frontend('admin'))
|
2018-06-20 12:05:48 +08:00
|
|
|
->js(__DIR__.'/js/dist/admin.js')
|
2018-10-22 04:35:12 +08:00
|
|
|
->css(__DIR__.'/less/admin.less')
|
2020-12-09 02:08:26 +08:00
|
|
|
->content(AddStatisticsData::class),
|
2020-06-20 09:43:34 +08:00
|
|
|
|
2020-06-20 09:43:47 +08:00
|
|
|
new Extend\Locales(__DIR__.'/locale'),
|
2018-06-20 12:05:48 +08:00
|
|
|
];
|