Amirhossein
Amirhossein

Reputation: 227

Addressing Files in Laravel

This question sounds simple, but it's a serious problem for me I want to transfer my Laravel project from localhost to my host At the bootstrap/cache/config.php , the files are addressed But I do not know how to change this address.

The part of bootstrap/cache/config.php that I want to change:

    array (
      'address' => '[email protected]',
      'name' => 'Example',
    ),
    'encryption' => 'ssl',
    'username' => 'myemail',
    'password' => 'pass',
    'sendmail' => '/usr/sbin/sendmail -bs',
    'markdown' => 
    array (
      'theme' => 'default',
      'paths' => 
      array (
        0 => 'C:\\wamp\\www\\Smm\\laravel\\resources\\views/vendor/mail',
      ),
    ),
  ),

It should be noted that I have my own project folders (resources,storage,vendor, ...) I keep myself in the 'reset' folder. And the reset folder is in the root.

Upvotes: 0

Views: 57

Answers (1)

Lukas
Lukas

Reputation: 201

'files' => storage_path('framework/sessions'),

see: https://laravel.com/docs/5.7/helpers#method-storage-path

Upvotes: 1

Related Questions