PHP code example of wieni / wmcontroller_flysystem
1. Go to this page and download the library: Download wieni/wmcontroller_flysystem 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/ */
wieni / wmcontroller_flysystem example snippets
// settings.php
$settings['flysystem'] = [
'wmcontrollerscheme' => [
'driver' => 'local',
'config' => [
'root' => 'sites/default/cache',
'public' => false,
],
'serve_js' => true,
'serve_css' => true,
],
];
// Or if you want to store your cache on S3
// This 'cname' => $_ENV['S3_CNAME'] ?? '',
'options' => [
'ACL' => 'private',
],
'protocol' => 'https',
'public' => false,
],
'cache' => false,
'serve_js' => false,
'serve_css' => false,
],
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.