2017-12-10 18:41:13 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Flarum.
|
|
|
|
*
|
|
|
|
* (c) Toby Zerner <toby.zerner@gmail.com>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
2018-06-20 12:05:48 +08:00
|
|
|
use Flarum\Extend;
|
2017-12-10 18:41:13 +08:00
|
|
|
use Flarum\Statistics\Listener;
|
|
|
|
|
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')
|
|
|
|
->content(Listener\AddStatisticsData::class),
|
2018-06-20 12:05:48 +08:00
|
|
|
];
|