oye oscard41 ya detecte tu error, bueno creo es ese, a continuación te muestro.
Código PHP:
Ver originalpublic function conexionDB(){
$this->server= $this->leerIni("Config","MYSQL","Server");
$this->user= $this->leerIni("Config","MYSQL","User");
$this->clave= $this->leerIni("Config","MYSQL","Clave");
//DESDE AQUI HA DE EMPEZAR EL ERROR, la conexion la estas haciendo en una variable local
//no estas haciendo la conexion en el atributo conexion que creaste y me imagino que cuando //llamas esta conexion para hacer el query en el modelo o en el controlador, te esta llegando //vacio
//espero que esto haya sido
$conexion= mysql_connect($this->server,$this->user,$this->clave);
if($conexion){
$this->DB= $this->leerIni("Config","MYSQL","DB");
}else{
return "Error";
}
}