28 lines
624 B
PHP
28 lines
624 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_model');
|
|
|
|
// $phoneH = $this->mobile_model->getMobileHeaders();
|
|
$imb = $this->mobile_model->isMobile();
|
|
//echo "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh=". $imb;
|
|
$mob_strict = true;
|
|
|
|
if ($mob_strict == true) {
|
|
if ($imb !=1) {
|
|
// redirect('/');
|
|
} else {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|