<?php
/***************************************************************************
- * Copyright (C) 2003-2011 Polytechnique.org *
+ * Copyright (C) 2003-2014 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
function handlers()
{
return array(
- 'stats' => $this->make_hook('stats', AUTH_COOKIE),
- 'stats/evolution' => $this->make_hook('evolution', AUTH_COOKIE),
- 'stats/graph' => $this->make_hook('graph', AUTH_COOKIE),
- 'stats/graph/evolution' => $this->make_hook('graph_evo', AUTH_COOKIE),
- 'stats/promos' => $this->make_hook('promos', AUTH_COOKIE),
+ 'stats' => $this->make_hook('stats', AUTH_COOKIE, 'user'),
+ 'stats/evolution' => $this->make_hook('evolution', AUTH_COOKIE, 'user'),
+ 'stats/graph' => $this->make_hook('graph', AUTH_COOKIE, 'user'),
+ 'stats/graph/evolution' => $this->make_hook('graph_evo', AUTH_COOKIE, 'user'),
+ 'stats/promos' => $this->make_hook('promos', AUTH_COOKIE, 'user'),
'stats/coupures' => $this->make_hook('coupures', AUTH_PUBLIC),
);
}
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>