isMobile() && !$detect->isTablet() ){ header("HTTP/1.1 301 Moved Permanently"); header('Location: '.$sMobileURL); exit(0); // echo 'TEST OK -> '.$sMobileURL; } else { header("HTTP/1.1 301 Moved Permanently"); header('Location: '.$sDesktopURL); exit(0); // echo 'TEST OK -> '.$sDesktopURL; } // ------------------------------------------ ?>