From hava, 5 Years ago, written in PHP.
This paste is a reply to Untitled from Scorching Leopard - view diff
Embed
  1. <?php
  2.  
  3. return [
  4.     /*
  5.     |--------------------------------------------------------------------------
  6.     | Choose which filesystem you wish to use to store the media
  7.     |--------------------------------------------------------------------------
  8.     | Choose one or more of the filesystems you configured
  9.     | in app/config/filesystems.php
  10.     | Supported: "local", "s3"
  11.     */
  12.     'filesystem' => 'local',
  13.     /*
  14.     |--------------------------------------------------------------------------
  15.     | The path where the media files will be uploaded
  16.     |--------------------------------------------------------------------------
  17.     */
  18.     'files-path' => '/assets/media/',
  19.     /*
  20.     |--------------------------------------------------------------------------
  21.     | Specify all the allowed file extensions a user can upload on the server
  22.     |--------------------------------------------------------------------------
  23.     */
  24.     'allowed-types' => '.jpg,.png',
  25.     /*
  26.     |--------------------------------------------------------------------------
  27.     | Determine the max file size upload rate
  28.     | Defined in MB
  29.     |--------------------------------------------------------------------------
  30.     */
  31.     'max-file-size' => '5',
  32.  
  33.     /*
  34.     |--------------------------------------------------------------------------
  35.     | Determine the max total media folder size
  36.     |--------------------------------------------------------------------------
  37.     | Expressed in bytes
  38.     */
  39.     'max-total-size' => 1000000000,
  40. ];
  41.