Rename config.php to config.php.example #58

Open
opened 2025-01-17 04:19:18 +00:00 by ckg · 1 comment

Probably most of 4get hosters and selfhosters just clone the repository and modify config.php right away to customize their settings.

If the user modifies config.php, in the next git pull to update the instance, the user will be asked to commit the changes of config.php and then pull the changes from upstream. There is more problems besides just commit the configuration, like conflict issues which are extremely annoying to solve on the terminal and for people that just want a working 4get instance.

IMO this is better.

Probably most of 4get hosters and selfhosters just clone the repository and modify config.php right away to customize their settings. If the user modifies config.php, in the next `git pull` to update the instance, the user will be asked to commit the changes of config.php and then pull the changes from upstream. There is more problems besides just commit the configuration, like conflict issues which are extremely annoying to solve on the terminal and for people that just want a working 4get instance. IMO this is better.
Author

Also, why not make the https://git.lolcat.ca/lolcat/4get/src/branch/master/data/config.php#L8 a hardcoded value on 4get? Is just the version

Also, why not make the https://git.lolcat.ca/lolcat/4get/src/branch/master/data/config.php#L8 a hardcoded value on 4get? Is just the version
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lolcat/4get#58
No description provided.