php files in config directory? #721

Closed
opened 2026-02-04 22:03:58 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @MacChuck on GitHub (Jun 18, 2018).

  • 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?

Originally created by @MacChuck on GitHub (Jun 18, 2018). * 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?
OVERLORD added the Question label 2026-02-04 22:03:58 +03:00
Author
Owner

@CaptnBook4Git commented on GitHub (Jun 18, 2018):

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

@CaptnBook4Git commented on GitHub (Jun 18, 2018): i already asked myself the same. An answer would be nice
Author
Owner
@TBK commented on GitHub (Jun 18, 2018): https://laravel.com/docs/5.5/structure#the-config-directory https://laravel.com/docs/5.5/configuration
Author
Owner

@ssddanbrown commented on GitHub (Jun 18, 2018):

@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 commented on GitHub (Jun 18, 2018): @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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#721