Textpattern CMS support forum
Post-install setup scripts
Is there a preferred way to add 1 or more post-install setup scripts? For example, automating some admin-side options, that sort of thing.
I can run database queries manually, but since I tend to use the Textpattern auto-installer more often these days, I really like the idea of being able to drop a file into
/textpattern/setup/post-install/ (or whatever) knowing they would run after the install is complete.
Thanks in advance for any advice.
Re: Post-install setup scripts
Y’know what, we have a post install routine that runs on update (put script in /update/custom/post-update*.php) but I don’t think it runs via the autoinstaller. Only on UI login. I might be wrong.
If we don’t have one, we could definitely do with a dedicated post-install routine during setup – manual and automated – so this is a great reminder. We should look into this.