From ea7486b4ab8d1e13f238562e255866c8fa998475 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 30 Apr 2012 16:52:38 -0400 Subject: [PATCH] Various updates --- README.md | 4 +++- app/errors/error_db.php | 6 +++--- app/errors/error_general.php | 4 ++-- app/errors/error_php_exception.php | 9 ++++----- 4 files changed, 12 insertions(+), 11 deletions(-) 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 @@

A Database Error was encountered

-

Code:

-

Driver Code:

-

Message:

+

Code:

+

Driver Code:

+

Message:

\ No newline at end of file diff --git a/app/errors/error_general.php b/app/errors/error_general.php index aaca8ab..3036a85 100644 --- a/app/errors/error_general.php +++ b/app/errors/error_general.php @@ -9,10 +9,10 @@
-

+

- +
diff --git a/app/errors/error_php_exception.php b/app/errors/error_php_exception.php index 0cc89a0..367696a 100755 --- a/app/errors/error_php_exception.php +++ b/app/errors/error_php_exception.php @@ -1,7 +1,7 @@

An uncaught exception was thrown.

-

Message:

+

Message:

@@ -10,10 +10,9 @@

- File:
- Line:
- Function: - Args:

*/ ?> + File:
+ Line:
+ Function: