Commit e4c6b50a authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻

Merge branch 'detect-non-existing-sites' into 'master'

Typo

See merge request !37
parents 19384c3b 3a5a76d0
......@@ -8,7 +8,7 @@ class EditController extends Controller {
// on fait en sorte que toutes les methodes ne soient accecssibles que si l'utilisateur est admin,
//sinon, on le renvoie vers la page de login
function beforeroute() {
parent::beforereoute();
parent::beforeroute();
if (!$this->isAdmin()) {
//on rajoute un petit message d'erreur qui sera affiché sur la page de login
$this->f3->set(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment