Switch arrays to short syntax
This commit is contained in:
parent
82165aa903
commit
3dc42c65cf
@ -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
|
||||
|
@ -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' => '',
|
||||
)
|
||||
);
|
||||
]
|
||||
];
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user