mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-31 23:20:43 +02:00
2025.2.7
This commit is contained in:
parent
b6fadae2e5
commit
e0884c0a5a
3 changed files with 11 additions and 6 deletions
|
@ -5,9 +5,13 @@
|
|||
**/
|
||||
|
||||
if(Admin::getID()){
|
||||
r2(getUrl('dashboard'));
|
||||
}if(User::getID()){
|
||||
r2(getUrl('home'));
|
||||
//r2(getUrl('dashboard'));
|
||||
$handler = 'dashboard';
|
||||
}else if(User::getID()){
|
||||
//r2(getUrl('home'));
|
||||
$handler = 'home';
|
||||
}else{
|
||||
r2(getUrl('login'));
|
||||
//r2(getUrl('login'));
|
||||
$handler = 'login';
|
||||
}
|
||||
include($root_path . File::pathFixer('system/controllers/' . $handler . '.php'));
|
Loading…
Add table
Add a link
Reference in a new issue