hzhz
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
class LE_MOD_LOAD {
|
||||
public $m1=false,$m2=false,$space_list=[],$mod_aliases=[];
|
||||
public $m1=false,$m2=false,$space_list=[],$mod_aliases=[],$space=false;
|
||||
public $init_path=false,$mod_path=false,$url;
|
||||
|
||||
function __construct($autorun=1)
|
||||
@@ -36,6 +36,8 @@ class LE_MOD_LOAD {
|
||||
|
||||
if ($this->select_path($space)===false) return false;
|
||||
|
||||
$this->space = $space;
|
||||
|
||||
$mod=arr_v(SYSCONF::$DEFAULT_MODULE,$space,false); //default
|
||||
if (!empty($mod_in_q))
|
||||
{
|
||||
|
||||
@@ -30,6 +30,12 @@ class LE_TPL {
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
public function fetch2mcont($t,&$vars=array(),$prefix=false,$cache_en=false)
|
||||
{
|
||||
$this->mod_cont .= $this->fetch($t,$vars,$prefix,$cache_en);
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function path($tpl_path,$prefix=false)
|
||||
{
|
||||
if ($prefix===false) $prefix = $this->prefix;
|
||||
@@ -71,6 +77,7 @@ class LE_TPL {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//static elements
|
||||
public $need_st_list=[],$static_list=[],$static_dep=[],$top_st=[],$bottom_st=[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user