diff --git a/README.md b/README.md index d48d2b6..7410dec 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pur Eg. `$this . "string"`, `$this->__toString()`, `echo $this`; -* `__call()` method allows (in PHP 5.3+) the dynamic addition of callable closure objects +* `__call()` method allows the dynamic addition of callable closure objects Eg. `$this->foo = function($baz){}` is callable as `$this->foo()`, with the current object as the last argument @@ -25,6 +25,8 @@ miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pur Database class uses [Query](https://github.com/aviat4ion/Query) as a database abstraction layer and query builder. +Database connections are set in /app/config/db.php + ### File Structure * index.php - framework frontend diff --git a/app/errors/error_db.php b/app/errors/error_db.php index 85e159d..bab8d6d 100644 --- a/app/errors/error_db.php +++ b/app/errors/error_db.php @@ -1,7 +1,7 @@
Code:
-Driver Code:
-Message:
+Code: = $code ?>
+Driver Code: = $driver_code ?>
+Message: = $message ?>
Message:
+Message: = $message; ?>
@@ -10,10 +10,9 @@
- File:
- Line:
- Function:
- Args: