Location: PHPKode > projects > Breeze CMS - A PHP Content Manage System > libs/Ice/Model.class.php
<?php
ice_include("Ice_Db");

class Ice_Model
{
    var $dbo;
    
    function Ice_Model()
    {
        $registry = Ice_Registry::getInstance();
        $dbconfig = $registry->get("DB_CONFIG");
        
        $this->dbo = new Ice_Db();
        $this->dbo->connect($dbconfig['dsn'], $dbconfig['db_prefix']);
    }
}
Return current item: Breeze CMS - A PHP Content Manage System