From de471b95d04cada8c0bfb18f17f729e7011ca9a7 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 14 May 2012 16:52:05 -0400 Subject: [PATCH] Update readme --- README.md | 5 ++--- sys/core/model.php | 14 -------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index e26c4b5..90b17e7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/sys/core/model.php b/sys/core/model.php index 8bba814..833cbe1 100644 --- a/sys/core/model.php +++ b/sys/core/model.php @@ -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 \ No newline at end of file