<?php /** * PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/) * by https://t.me/ibnux **/ if(Admin::getID()){ //r2(getUrl('dashboard')); $handler = 'dashboard'; }else if(User::getID()){ //r2(getUrl('home')); $handler = 'home'; }else{ //r2(getUrl('login')); $handler = 'login'; } include($root_path . File::pathFixer('system/controllers/' . $handler . '.php'));