Release 1.2.0

This commit is contained in:
Abel Hoogeveen 2019-09-21 23:47:43 +02:00
parent 348f61a10d
commit c5621f452f
No known key found for this signature in database
GPG Key ID: 96C2234920BF4292
2 changed files with 18 additions and 6 deletions

View File

@ -14,12 +14,12 @@
], ],
"require": { "require": {
"php": ">=7.1.0", "php": ">=7.1.0",
"fuzeworks/core": "1.2.0-RC5", "fuzeworks/core": "~1.2.0",
"fuzeworks/mvcr": "1.2.0-RC5", "fuzeworks/mvcr": "~1.2.0",
"fuzeworks/webcomponent": "1.2.0-RC5", "fuzeworks/webcomponent": "~1.2.0",
"fuzeworks/tracycomponent": "1.2.0-RC5", "fuzeworks/tracycomponent": "~1.2.0",
"fuzeworks/layout": "1.2.0-RC5", "fuzeworks/layout": "~1.2.0",
"fuzeworks/database": "1.2.0-RC6", "fuzeworks/database": "~1.2.0",
"smarty/smarty": "3.1.*", "smarty/smarty": "3.1.*",
"latte/latte": "2.5.*", "latte/latte": "2.5.*",
"ext-json": "*" "ext-json": "*"

View File

@ -39,4 +39,16 @@ namespace FuzeWorks;
abstract class WebAppController extends WebController abstract class WebAppController extends WebController
{ {
/**
* @var Database
*/
protected $databases;
public function __construct()
{
parent::__construct();
// Load all the requirements for the WebAppController, not yet loaded by any of the parent controller classes
$this->databases = Factory::getInstance('databases');
}
} }