Skip to content

Reading .ini files requires write access

For example, the web server requires write access to mime_types.ini to read it in. This needs to be fixed.

iniOpenFile() opens all files with write access, so either:

  1. Change the meaning of the argument to 'write' instead of 'create'
  2. Use an enum argument with 3 values (i.e. read-only, read-write, or read-write-create)
  3. Create/use a new function, e.g. iniOpenFileReadOnly()