function ModelBase() { parent::MysqlModel(); $this->provider->debug = FALSE; $this->provider->properties = $GLOBALS['AppConfig']['db']; }