Fix on webmodel
This commit is contained in:
parent
b76bc66368
commit
e31a89a538
1 changed files with 9 additions and 2 deletions
|
|
@ -217,6 +217,13 @@ class Webmodel {
|
||||||
|
|
||||||
public $modify_id=0;
|
public $modify_id=0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An array used for save the models.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
static public $model=array();
|
||||||
|
|
||||||
//Construct the model
|
//Construct the model
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -289,7 +296,7 @@ class Webmodel {
|
||||||
|
|
||||||
include($path_model);
|
include($path_model);
|
||||||
|
|
||||||
$func_load=$model.'ModelLoad';
|
/*$func_load=$model.'ModelLoad';
|
||||||
|
|
||||||
if(!function_exists($func_load))
|
if(!function_exists($func_load))
|
||||||
{
|
{
|
||||||
|
|
@ -302,7 +309,7 @@ class Webmodel {
|
||||||
|
|
||||||
return $func_load();
|
return $func_load();
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue