So I’m sitting here working on a mid-sized array that defines permission flag names, and the default values for different types of user – I’ve dumped the array out after sorting it, and I’m re-importing it into the code so that I can find bits easier (alpha search by analogue eye).  As I’m running a series of search and replace functions, I found myself thinking ‘Self, this would be easier if you stored it in an SQL table.’  I actually proceeded down that train of thought for about a second, until I remembered – this array in code is the source for a database table that the rest of the code uses.  It’s just the installer if you will.

*twitch*

Dear brain, please pay attention.
Tagged on: