28 lines
564 B
PHP
28 lines
564 B
PHP
<?php
|
|
|
|
class Mobile_Controller extends WRB_Controller {
|
|
|
|
public $data = array();
|
|
|
|
function __construct() {
|
|
parent::__construct();
|
|
|
|
|
|
//$this->renderMobileExtPage('mobile_index', $data);
|
|
$this->load->model('mobile_detect');
|
|
|
|
$phoneH = $this->mobile_detect->getMobileHeaders();
|
|
$imb = $this->mobile_detect->isMobile();
|
|
|
|
$mob_strict = false;
|
|
|
|
if ($mob_strict == true) {
|
|
if ($img == false) {
|
|
redirect('/');
|
|
} else {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|