PHP code example of mwltr / ext-magento2-mwltr-filesystem-filedriver
1. Go to this page and download the library: Download mwltr/ext-magento2-mwltr-filesystem-filedriver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mwltr / ext-magento2-mwltr-filesystem-filedriver example snippets
php
$_SERVER[\Magento\Framework\App\Bootstrap::INIT_PARAM_FILESYSTEM_DRIVERS] = [
'file' => \Mwltr\FilesystemFileDriver\Filesystem\FileDriver::class,
];