File: base/config/mobile.php

Recommend this page to a friend!
  Classes of Carlos Eduardo Barcelos Amaral  >  Base MVC Framework  >  base/config/mobile.php  >  Download  
File: base/config/mobile.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Base MVC Framework
MVC framework to be the base of Web applications
Author: By
Last change: fix mobile detection use declaration form broken to finding it
Date: 5 years ago
Size: 136 bytes
 

Contents

Class file image Download
<?php

   $detect
= New \Detection\MobileDetect();

  
define('MOBILE', $detect->isMobile());
  
define('TABLET', $detect->isTablet());

For more information send a message to info at phpclasses dot org.