BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

php files in config directory?

Open MacChuck opened this issue 8 years ago • 3 comments

  • BookStack Version (Found in settings, Please don't put 'latest'): v0.22.0
  • PHP Version:
  • MySQL Version: 5.7.21 (i think)

Not really a bug, but I didn't see a discussion forum to ask this on, I was looking for a way to use other mail hosts and just poking around, and saw there's a bunch of php files in the config directory (mail.php, auth.php, etc). Are we supposed to use these, or are they internal items that pull from the .env file?

MacChuck avatar Jun 17 '18 23:06 MacChuck

i already asked myself the same. An answer would be nice

CaptnBook4Git avatar Jun 18 '18 00:06 CaptnBook4Git

https://laravel.com/docs/5.5/structure#the-config-directory https://laravel.com/docs/5.5/configuration

TBK avatar Jun 18 '18 10:06 TBK

@Logoth These are internal files used by BookStack thats pull from the .env (or from environment variables). Any edits to these are not supported and may be overwritten upon update.

Technically these are the way to configure Laravel (The framework BookStack uses) so they do provide additional options but many of these require additional dependencies.

Hopefully that answers the question so I'll close this. If it does not let me know and I'll re-open this.

ssddanbrown avatar Jun 18 '18 14:06 ssddanbrown