Add statistics page
- Closes https://github.com/friendica/friendica-directory/issues/2
This commit is contained in:
parent
e8752c7631
commit
ce075c80e6
5 changed files with 240 additions and 0 deletions
20
src/classes/Routes/Web/Statistics.php
Normal file
20
src/classes/Routes/Web/Statistics.php
Normal 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
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue