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.
|
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
|
||||||
|
@ -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' => '',
|
||||||
)
|
]
|
||||||
);
|
];
|
@ -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 {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user