From hava, 5 Years ago, written in PHP.
This paste is a reply to Untitled from Scorching Leopard - go back
Embed
Viewing differences between Untitled and Re: Untitled
<?php

<?php

return [
    /*
    |--------------------------------------------------------------------------
    
[
    /*
    |--------------------------------------------------------------------------
    
| Choose which filesystem you wish to use to store the media
    |--------------------------------------------------------------------------
    
media
    |--------------------------------------------------------------------------
    
| Choose one or more of the filesystems you configured
configured
    | in app/config/filesystems.php
    
php
    
| Supported: "local", "s3"
    */
    
"s3"
    */
    
'filesystem' => 'local',
    /*
    |--------------------------------------------------------------------------
    
'local',
    /*
    |--------------------------------------------------------------------------
    
| The path where the media files will be uploaded
    |--------------------------------------------------------------------------
    */
    
uploaded
    |--------------------------------------------------------------------------
    */
    
'files-path' => '/assets/media/',
    /*
    |--------------------------------------------------------------------------
    
'/assets/media/',
    /*
    |--------------------------------------------------------------------------
    
| Specify all the allowed file extensions a user can upload on the server
    |--------------------------------------------------------------------------
    */
server
    |--------------------------------------------------------------------------
    */
    'allowed-types' => '.jpg,.png',
    /*
    |--------------------------------------------------------------------------
    
png',
    /*
    |--------------------------------------------------------------------------
    
| Determine the max file size upload rate
    
rate
    
| Defined in MB
    |--------------------------------------------------------------------------
    */
    
MB
    |--------------------------------------------------------------------------
    */
    
'max-file-size' => '5',

    /*
    |--------------------------------------------------------------------------
    
'5',

    /*
    |--------------------------------------------------------------------------
    
| Determine the max total media folder size
    |--------------------------------------------------------------------------
    
size
    |--------------------------------------------------------------------------
    
| Expressed in bytes
    */
    
bytes
    */
    
'max-total-size' => 1000000000,
];
1000000000,
];