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

View File

@ -12,8 +12,8 @@
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
$db_conf = array( $db_conf = [
'default' => array( 'default' => [
'type' => '', 'type' => '',
'host' => '', 'host' => '',
'user' => '', 'user' => '',
@ -21,5 +21,5 @@ $db_conf = array(
'db' => '', 'db' => '',
'prefix' => '', 'prefix' => '',
'persist' => '', '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 { trait JSObject {