Switch arrays to short syntax

This commit is contained in:
Timothy Warren 2012-04-05 12:48:10 -04:00
parent 82165aa903
commit 3dc42c65cf
3 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@
miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pure-PHP templating system.
### Requirements
* PHP 5.2+ (5.4+ for trait branch)
* PHP 5.4+
* PDO extensions for databases you wish to use
* Webserver that correctly handles PATH_INFO, such as:
* Apache

View File

@ -12,8 +12,8 @@
// --------------------------------------------------------------------------
$db_conf = array(
'default' => array(
$db_conf = [
'default' => [
'type' => '',
'host' => '',
'user' => '',
@ -21,5 +21,5 @@ $db_conf = array(
'db' => '',
'prefix' => '',
'persist' => '',
)
);
]
];

View File

@ -13,7 +13,7 @@
// --------------------------------------------------------------------------
/**
* Parent class of base class, contains much of the magic
* Parent trait of base class, contains much of the magic
*/
trait JSObject {