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_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 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user