From: vincent@cubedesigners.com Date: Mon, 27 Sep 2010 14:15:05 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c195e58c243c0d191d6d8355f6a7036c1973bb27;p=cubeextranet.git --- diff --git a/inc/extranet/Controlleur/class.extranet.url.php b/inc/extranet/Controlleur/class.extranet.url.php index f21f5e64e..24a8ce539 100644 --- a/inc/extranet/Controlleur/class.extranet.url.php +++ b/inc/extranet/Controlleur/class.extranet.url.php @@ -9,6 +9,9 @@ class extranetUrl { if (!is_null($core->user) && !$core->user) { $args = array('login'); } else { + if ($args[0] == 'login') { + http::redirect('/'); + } if (!count($args)) { // Page par défaut (premier onglet) if (MODE == 'extranet') { @@ -2139,7 +2142,7 @@ class extranetUrl { public static function deleteOldFilesFromFTP($args) { global $core; - $dao=new extranetDAOFichier($core->con); + $dao = new extranetDAOFichier($core->con); $dao->deleteOldFiles(); } }