#418: Menu directement choisi s'il n'y en a qu'un
This commit is contained in:
parent
148f634aeb
commit
80d8c73a1d
3 changed files with 21 additions and 4 deletions
|
|
@ -32,6 +32,14 @@ require_once 'function_javascript.php';
|
|||
html_page_start();
|
||||
global $g_user, $cn;
|
||||
|
||||
// if gDossier is not set redirect to form to choose a folder
|
||||
if ( ! isset($_REQUEST['gDossier']))
|
||||
{
|
||||
redirect('user_login.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$cn = new Database(Dossier::id());
|
||||
$g_user = new User($cn);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue