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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user