Jump to content
Sign in to follow this  
Milchdealer

files in db folder

Recommended Posts

So I've been seeing many "// FIXME hardcoded name" as I've been delving around the code (especially since the conf system wasn't around last time I was here).

Is there any idea how this could be done? I've been thinking with a conf file itself, that would then need to be hardcoded but all the files it refers to could just come and go as the user pleases.

I scrapped out some suggestion, but when I started playing around with it in the code something felt odd about it.

Another thing that I couldn't settle on was when to actually load those settings, partly because the interfaces haven't been around last time I was here and partly because conf.c, where I planned it, is loaded quite early and things like RENEWAL are not defined there, yet.

 

I attached my tentative databases.conf file and am open for many suggestions, if the devs also feel this should be addressed.

databases.txt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.