From dab1129c8fdf271eebf9d768b152126dadb55456 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 10 Nov 2015 02:14:18 +0100 Subject: [PATCH] Fix Bug for Mono Database : upgrade Redirect user directly to his folder --- html/user_login.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/user_login.php b/html/user_login.php index 0c56c8e3a..e0d349701 100644 --- a/html/user_login.php +++ b/html/user_login.php @@ -122,11 +122,12 @@ echo '
'; /** * * If the user is NOT admin and can access only ONE folder, - * so it will be directly redirected to this folder or to the plugins of this + * OR for a One Folder Installation + * he will be directly redirected to his folder or to the plugins of this * folder if he's an "plugin user" */ -if ( $User->admin == 0 ) +if ( $User->admin == 0 || (defined("MULTI")&& MULTI == 0 ) ) { // how many folder ? $folder=$User->get_available_folder();