diff --git a/bureau/admin/index.php b/bureau/admin/index.php index b7a55bf9..335bfb12 100644 --- a/bureau/admin/index.php +++ b/bureau/admin/index.php @@ -26,6 +26,11 @@ require_once("../class/config_nochk.php"); +if ($mem->checkid()) { + Header("Location: /main.php"); + exit; +} + if (!$mem->del_session()) { // No need to draw an error message ... //$error=$err->errstr(); @@ -91,7 +96,7 @@ if ( empty($logo) || ! $logo ) {