diff options
Diffstat (limited to 'app/controllers/entryController.php')
| -rwxr-xr-x | app/controllers/entryController.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index 3d9734ca9..cf510e362 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -2,6 +2,13 @@ class entryController extends ActionController { public function firstAction () { + if (login_is_conf ($this->view->conf) && !is_logged ()) { + Error::error ( + 403, + array ('error' => array ('Vous n\'avez pas le droit d\'accéder à cette page')) + ); + } + $ajax = Request::param ('ajax'); if ($ajax) { $this->view->_useLayout (false); |
