[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Fix Bug for Mono Database : upgrade Re
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Fix Bug for Mono Database : upgrade Redirect user directly to his folder |
Date: |
Tue, 10 Nov 2015 01:20:35 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit dab1129c8fdf271eebf9d768b152126dadb55456
Author: Dany De Bontridder <address@hidden>
Date: Tue Nov 10 02:14:18 2015 +0100
Fix Bug for Mono Database : upgrade
Redirect user directly to his folder
---
html/user_login.php | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/html/user_login.php b/html/user_login.php
index 0c56c8e..e0d3497 100644
--- a/html/user_login.php
+++ b/html/user_login.php
@@ -122,11 +122,12 @@ echo '<div class="welcome"> ';
/**
*
* 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();