<?php
namespace imcat\book;
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(){
if($this->ucfg['view']){
glbHtml::httpStatus('404');
}
$re['newtpl'] = 'home/page'; // 文档模板
return $re;
}
}
-End-