Update readme

This commit is contained in:
Timothy Warren 2012-05-14 16:52:05 -04:00
parent b3ffa9e1b5
commit de471b95d0
2 changed files with 2 additions and 17 deletions

View File

@ -31,18 +31,17 @@ Database connections are set in /app/config/db.php
### File Structure
* index.php - framework frontend
* index.php - framework bootstrap
* app - configuration and app-wide files
* classes - helper classes
* config - configuration files
* errors - error page templates
* modules - MVC triads
* controllers - controller classes
* models - model classes
* views - module-specific views
* views - global page templates
* errors - error page templates
* assets - frontend files
* js - javascript files

View File

@ -30,19 +30,5 @@ class MM_Model extends miniMVC {
{
parent::__construct();
}
// --------------------------------------------------------------------------
/**
* Adds the database class to the current model class
*
* @param string $name
* @return void
*/
public function load_db($name="default")
{
$this->db =& db::get_instance($name);
}
}
// End of model.php