Welcome to Geeklog, Anonymous Sunday, June 16 2024 @ 10:09 pm EDT

Geeklog Forums

Idea to make config.php more smoothly


Status: offline

remy

Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
When installing a new release, there is always the problem to go thru the new options. Mostly I do use the default, and where that is changed, I have to look for other, possible interfering options.

Would it be possible to have geeklog read config.php, which contains all the options with default settings, and afterwards read a file f.i. defaults.php or custom_config.php, which contains all the adjusted options. The idea is that these adjusted options kind of overwrite the default settings.
In that way I only have to delete an option if I want the standard back.
In that way I have a 'document' with my customization.
Also, I could install the release without bothering.

See also the webserver xitami at www.xitami.com, which is initializing this way.
 Quote

All times are EDT. The time is now 10:09 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content