Welcome Guest, Not a member yet? Register   Sign In
Runtime mimes.php generation
#3

We are using CI as a base for FABUI (FABtotum 3D printer on-board web interface).

New plugin system has the ability to extend supported file types. As the whole system is running on a custom build and optimized linux,
there are strict policies which parts of the filesystem are RO/RW.

- The first reason or going for a runtime/on-the-fly generation is that we don't know at this point what file type support will be added by new plugins (user created).
- Second reason is that that the web files are in the read-only section of the filesystem and if modified by overlay mechanism it would create problems for updates. So is best if no files are modified with a new plugin being activated/deactivated.

The mimes.php could be regenerated "physically" every time a plugins is activate/deactivated but I would really like to avoid that as it would cause other problems.
Reply


Messages In This Thread
Runtime mimes.php generation - by infinity0n3 - 10-19-2016, 06:17 AM
RE: Runtime mimes.php generation - by Narf - 10-20-2016, 02:54 AM
RE: Runtime mimes.php generation - by infinity0n3 - 10-20-2016, 03:30 AM
RE: Runtime mimes.php generation - by Narf - 10-20-2016, 08:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB