<?php
namespace imcat\base;
use imcat\exvJump;
use imcat\glbHtml;
class _defCtrl{
public $ucfg = array();
public $vars = array();
//function __destory(){ }
function __construct($ucfg=array(), $vars=array()){
$this->ucfg = $ucfg;
$this->vars = $vars;
}
// _defAct
function _defAct(){
global $_cbase;
$tpl = $this->ucfg['tplname'];
$pres = array('info/', 'user/');
if(!in_array(substr($tpl,0,5),$pres)){
$res = new exvJump();
//glbHtml::httpStatus(404);
die('Error `mkv`! @ '.__FUNCTION__);
}
}
}