first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?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 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user