Add statistics page

- Closes https://github.com/friendica/friendica-directory/issues/2
This commit is contained in:
Hypolite Petovan 2018-11-18 10:38:43 -05:00
commit ce075c80e6
5 changed files with 240 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace Friendica\Directory\Routes\Web;
/**
* @author Hypolite Petovan <mrpetovan@gmail.com>
*/
class Statistics extends BaseRoute
{
public function __construct(\Slim\Container $container)
{
parent::__construct($container);
$this->controller = new \Friendica\Directory\Controllers\Web\Statistics(
$this->container->atlas,
$this->container->simplecache,
$this->container->renderer
);
}
}