Fix on webmodel

This commit is contained in:
Antonio de la Rosa 2015-05-06 04:28:14 +02:00
parent b76bc66368
commit e31a89a538

View file

@ -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