1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 14:46:53 +02:00

fix(core): fix bug - Cannot access protected property Flextype\App\Foundation\Flextype::$container #462

This commit is contained in:
Awilum
2020-08-21 17:33:51 +03:00
parent 2e214780d9
commit 2db2e2f38c

View File

@@ -180,7 +180,7 @@ $flextype->container()['frontmatter'] = static function () use ($flextype) {
*/
$flextype->container()['images'] = static function () use ($flextype) {
// Get images settings
$imagesSettings = ['driver' => $flextype->container->get('flextype.settings.image.driver')];
$imagesSettings = ['driver' => $flextype->container('registry')->get('flextype.settings.image.driver')];
// Set source filesystem
$source = new Filesystem(